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/verify.c \
|
||||
libblkid/src/version.c \
|
||||
$(nodist_blkidinc_HEADERS) \
|
||||
\
|
||||
libblkid/src/partitions/aix.c \
|
||||
libblkid/src/partitions/aix.h \
|
||||
|
@ -112,7 +111,6 @@ libblkid_la_SOURCES += \
|
|||
libblkid/src/topology/sysfs.c
|
||||
endif
|
||||
|
||||
nodist_libblkid_la_SOURCES = libblkid/src/blkid.h
|
||||
libblkid_la_LIBADD = libcommon.la
|
||||
|
||||
libblkid_la_DEPENDENCIES = \
|
||||
|
|
|
@ -29,11 +29,7 @@ libfdisk_la_SOURCES = \
|
|||
libfdisk/src/sgi.c \
|
||||
libfdisk/src/dos.c \
|
||||
libfdisk/src/bsd.c \
|
||||
libfdisk/src/gpt.c \
|
||||
$(nodist_fdiskinc_HEADERS)
|
||||
|
||||
|
||||
nodist_libfdisk_la_SOURCES = libfdisk/src/fdiskP.h
|
||||
libfdisk/src/gpt.c
|
||||
|
||||
libfdisk_la_LIBADD = libcommon.la libuuid.la
|
||||
|
||||
|
|
|
@ -8,12 +8,12 @@ libmount_la_SOURCES = \
|
|||
include/list.h \
|
||||
lib/monotonic.c \
|
||||
\
|
||||
libmount/src/mountP.h \
|
||||
libmount/src/cache.c \
|
||||
libmount/src/fs.c \
|
||||
libmount/src/init.c \
|
||||
libmount/src/iter.c \
|
||||
libmount/src/lock.c \
|
||||
libmount/src/mountP.h \
|
||||
libmount/src/optmap.c \
|
||||
libmount/src/optstr.c \
|
||||
libmount/src/tab.c \
|
||||
|
@ -22,8 +22,7 @@ libmount_la_SOURCES = \
|
|||
libmount/src/tab_update.c \
|
||||
libmount/src/test.c \
|
||||
libmount/src/utils.c \
|
||||
libmount/src/version.c \
|
||||
$(nodist_mountinc_HEADERS)
|
||||
libmount/src/version.c
|
||||
|
||||
if LINUX
|
||||
libmount_la_SOURCES += \
|
||||
|
@ -39,7 +38,6 @@ endif
|
|||
|
||||
endif # LINUX
|
||||
|
||||
nodist_libmount_la_SOURCES = libmount/src/mountP.h
|
||||
|
||||
libmount_la_LIBADD = \
|
||||
libcommon.la \
|
||||
|
|
|
@ -17,10 +17,7 @@ libsmartcols_la_SOURCES= \
|
|||
libsmartcols/src/table.c \
|
||||
libsmartcols/src/table_print.c \
|
||||
libsmartcols/src/version.c \
|
||||
libsmartcols/src/init.c \
|
||||
$(nodist_smartcolsinc_HEADERS)
|
||||
|
||||
nodist_libsmartcols_la_SOURCES = libsmartcols/src/smartcolsP.h
|
||||
libsmartcols/src/init.c
|
||||
|
||||
libsmartcols_la_LIBADD = libcommon.la
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ uuidinc_HEADERS = libuuid/src/uuid.h
|
|||
usrlib_exec_LTLIBRARIES += libuuid.la
|
||||
|
||||
libuuid_la_SOURCES = \
|
||||
libuuid/src/uuidP.h \
|
||||
libuuid/src/clear.c \
|
||||
libuuid/src/compare.c \
|
||||
libuuid/src/copy.c \
|
||||
|
@ -21,11 +22,8 @@ libuuid_la_SOURCES = \
|
|||
libuuid/src/unpack.c \
|
||||
libuuid/src/unparse.c \
|
||||
libuuid/src/uuidd.h \
|
||||
libuuid/src/uuidd.h \
|
||||
libuuid/src/uuidP.h \
|
||||
libuuid/src/uuid_time.c \
|
||||
libuuid/src/predefined.c \
|
||||
$(uuidinc_HEADERS) \
|
||||
lib/randutils.c \
|
||||
lib/md5.c \
|
||||
lib/sha1.c
|
||||
|
|
Loading…
Reference in New Issue