From: Daniel Elstner Date: Sat, 15 Aug 2015 16:33:05 +0000 (+0200) Subject: Build: Do not distribute generated headers X-Git-Tag: libsigrok-0.4.0~435 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=122322a9ba21f755f1efe36df0288c125052e99b;p=libsigrok.git Build: Do not distribute generated headers version.h and enums.hpp are generated at build time and should not be included in the distribution tarball. This seems to have triggered a weird error when doing a VPATH build of the dist tarball. --- diff --git a/Makefile.am b/Makefile.am index a020af4e..4bba0c72 100644 --- a/Makefile.am +++ b/Makefile.am @@ -421,7 +421,8 @@ libsigrok_la_LDFLAGS += -no-undefined library_includedir = $(includedir)/libsigrok library_include_HEADERS = \ include/libsigrok/libsigrok.h \ - include/libsigrok/proto.h \ + include/libsigrok/proto.h +nodist_library_include_HEADERS = \ include/libsigrok/version.h noinst_HEADERS = src/libsigrok-internal.h @@ -506,7 +507,8 @@ bindings_cxx_libsigrokcxx_la_LDFLAGS += -no-undefined bindings_cxx_libsigrokcxx_la_includedir = $(includedir)/libsigrokcxx bindings_cxx_libsigrokcxx_la_include_HEADERS = \ - bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp \ + bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp +nodist_bindings_cxx_libsigrokcxx_la_include_HEADERS = \ bindings/cxx/include/libsigrokcxx/enums.hpp pkgconfig_DATA += bindings/cxx/libsigrokcxx.pc