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.
This commit is contained in:
Daniel Elstner 2015-08-15 18:33:05 +02:00
parent 9ac018d0fc
commit 122322a9ba
1 changed files with 4 additions and 2 deletions

View File

@ -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