我需要在标准的include dir中安装一些标头(.hpp
)。如果没有要编译的对象,如何告诉automake
安装它们?通常我会将这些行放在我的Makefile.am
:
lib_LTLIBRARIES = libfoo.la
libfoo_la_SOURCES = \
foo.cpp \
bar.cpp
foo_includedir = $(includedir)/foo
foo_include_HEADERS = \
foo.hpp \
bar.hpp \
../config.h