build-sys: remove generated headers from dist tar ball
Headers should only be listed in either *_HEADERS or *_SOURCES, especially when we want nodist_*_HEADERS. Since all the generated headers are made by configure we don't even need to use BUILT_SOURCES or other tricks. Also see automake docs 9.4.1 Built Sources Example: case "Build bindir.h from configure" Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
This commit is contained in:
parent
ff4e18bd2d
commit
1d667d8849
|
@ -26,7 +26,6 @@ libblkid_la_SOURCES = \
|
||||||
libblkid/src/tag.c \
|
libblkid/src/tag.c \
|
||||||
libblkid/src/verify.c \
|
libblkid/src/verify.c \
|
||||||
libblkid/src/version.c \
|
libblkid/src/version.c \
|
||||||
$(nodist_blkidinc_HEADERS) \
|
|
||||||
\
|
\
|
||||||
libblkid/src/partitions/aix.c \
|
libblkid/src/partitions/aix.c \
|
||||||
libblkid/src/partitions/aix.h \
|
libblkid/src/partitions/aix.h \
|
||||||
|
@ -112,7 +111,6 @@ libblkid_la_SOURCES += \
|
||||||
libblkid/src/topology/sysfs.c
|
libblkid/src/topology/sysfs.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
nodist_libblkid_la_SOURCES = libblkid/src/blkid.h
|
|
||||||
libblkid_la_LIBADD = libcommon.la
|
libblkid_la_LIBADD = libcommon.la
|
||||||
|
|
||||||
libblkid_la_DEPENDENCIES = \
|
libblkid_la_DEPENDENCIES = \
|
||||||
|
|
|
@ -29,11 +29,7 @@ libfdisk_la_SOURCES = \
|
||||||
libfdisk/src/sgi.c \
|
libfdisk/src/sgi.c \
|
||||||
libfdisk/src/dos.c \
|
libfdisk/src/dos.c \
|
||||||
libfdisk/src/bsd.c \
|
libfdisk/src/bsd.c \
|
||||||
libfdisk/src/gpt.c \
|
libfdisk/src/gpt.c
|
||||||
$(nodist_fdiskinc_HEADERS)
|
|
||||||
|
|
||||||
|
|
||||||
nodist_libfdisk_la_SOURCES = libfdisk/src/fdiskP.h
|
|
||||||
|
|
||||||
libfdisk_la_LIBADD = libcommon.la libuuid.la
|
libfdisk_la_LIBADD = libcommon.la libuuid.la
|
||||||
|
|
||||||
|
|
|
@ -8,12 +8,12 @@ libmount_la_SOURCES = \
|
||||||
include/list.h \
|
include/list.h \
|
||||||
lib/monotonic.c \
|
lib/monotonic.c \
|
||||||
\
|
\
|
||||||
|
libmount/src/mountP.h \
|
||||||
libmount/src/cache.c \
|
libmount/src/cache.c \
|
||||||
libmount/src/fs.c \
|
libmount/src/fs.c \
|
||||||
libmount/src/init.c \
|
libmount/src/init.c \
|
||||||
libmount/src/iter.c \
|
libmount/src/iter.c \
|
||||||
libmount/src/lock.c \
|
libmount/src/lock.c \
|
||||||
libmount/src/mountP.h \
|
|
||||||
libmount/src/optmap.c \
|
libmount/src/optmap.c \
|
||||||
libmount/src/optstr.c \
|
libmount/src/optstr.c \
|
||||||
libmount/src/tab.c \
|
libmount/src/tab.c \
|
||||||
|
@ -22,8 +22,7 @@ libmount_la_SOURCES = \
|
||||||
libmount/src/tab_update.c \
|
libmount/src/tab_update.c \
|
||||||
libmount/src/test.c \
|
libmount/src/test.c \
|
||||||
libmount/src/utils.c \
|
libmount/src/utils.c \
|
||||||
libmount/src/version.c \
|
libmount/src/version.c
|
||||||
$(nodist_mountinc_HEADERS)
|
|
||||||
|
|
||||||
if LINUX
|
if LINUX
|
||||||
libmount_la_SOURCES += \
|
libmount_la_SOURCES += \
|
||||||
|
@ -39,7 +38,6 @@ endif
|
||||||
|
|
||||||
endif # LINUX
|
endif # LINUX
|
||||||
|
|
||||||
nodist_libmount_la_SOURCES = libmount/src/mountP.h
|
|
||||||
|
|
||||||
libmount_la_LIBADD = \
|
libmount_la_LIBADD = \
|
||||||
libcommon.la \
|
libcommon.la \
|
||||||
|
|
|
@ -17,10 +17,7 @@ libsmartcols_la_SOURCES= \
|
||||||
libsmartcols/src/table.c \
|
libsmartcols/src/table.c \
|
||||||
libsmartcols/src/table_print.c \
|
libsmartcols/src/table_print.c \
|
||||||
libsmartcols/src/version.c \
|
libsmartcols/src/version.c \
|
||||||
libsmartcols/src/init.c \
|
libsmartcols/src/init.c
|
||||||
$(nodist_smartcolsinc_HEADERS)
|
|
||||||
|
|
||||||
nodist_libsmartcols_la_SOURCES = libsmartcols/src/smartcolsP.h
|
|
||||||
|
|
||||||
libsmartcols_la_LIBADD = libcommon.la
|
libsmartcols_la_LIBADD = libcommon.la
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ uuidinc_HEADERS = libuuid/src/uuid.h
|
||||||
usrlib_exec_LTLIBRARIES += libuuid.la
|
usrlib_exec_LTLIBRARIES += libuuid.la
|
||||||
|
|
||||||
libuuid_la_SOURCES = \
|
libuuid_la_SOURCES = \
|
||||||
|
libuuid/src/uuidP.h \
|
||||||
libuuid/src/clear.c \
|
libuuid/src/clear.c \
|
||||||
libuuid/src/compare.c \
|
libuuid/src/compare.c \
|
||||||
libuuid/src/copy.c \
|
libuuid/src/copy.c \
|
||||||
|
@ -21,11 +22,8 @@ libuuid_la_SOURCES = \
|
||||||
libuuid/src/unpack.c \
|
libuuid/src/unpack.c \
|
||||||
libuuid/src/unparse.c \
|
libuuid/src/unparse.c \
|
||||||
libuuid/src/uuidd.h \
|
libuuid/src/uuidd.h \
|
||||||
libuuid/src/uuidd.h \
|
|
||||||
libuuid/src/uuidP.h \
|
|
||||||
libuuid/src/uuid_time.c \
|
libuuid/src/uuid_time.c \
|
||||||
libuuid/src/predefined.c \
|
libuuid/src/predefined.c \
|
||||||
$(uuidinc_HEADERS) \
|
|
||||||
lib/randutils.c \
|
lib/randutils.c \
|
||||||
lib/md5.c \
|
lib/md5.c \
|
||||||
lib/sha1.c
|
lib/sha1.c
|
||||||
|
|
Loading…
Reference in New Issue