diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-10-19 11:12:56 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-01-20 11:53:51 +0100 |
commit | c41808cdc3a2c3c8ca5f73707745f48aae49e17e (patch) | |
tree | a66e9aa9335d8f08ed3f451c937be1caceeb6d2f /misc-utils/Makemodule.am | |
parent | 54d68799b73e755923def1306b4da607ad45bd60 (diff) |
Remove headers from EXTRA_DIST
This commit removes the C header files from the EXTRA_DIST variables
and instead assigns them to the SOURCE variable of the respective
components they belong to.
This takes care of having them distributed in the release tar ball and
helps with dependency tracking a little.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'misc-utils/Makemodule.am')
-rw-r--r-- | misc-utils/Makemodule.am | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/misc-utils/Makemodule.am b/misc-utils/Makemodule.am index 9a86f6f..50703b6 100644 --- a/misc-utils/Makemodule.am +++ b/misc-utils/Makemodule.am @@ -1,22 +1,25 @@ -ftl_format_SOURCES = misc-utils/ftl_format.c +ftl_format_SOURCES = misc-utils/ftl_format.c include/mtd_swab.h +ftl_format_SOURCES += include/mtd/ftl-user.h doc_loadbios_SOURCES = misc-utils/doc_loadbios.c -ftl_check_SOURCES = misc-utils/ftl_check.c +ftl_check_SOURCES = misc-utils/ftl_check.c include/mtd_swab.h +ftl_check_SOURCES += include/mtd/ftl-user.h mtd_debug_SOURCES = misc-utils/mtd_debug.c mtdpart_SOURCES = misc-utils/mtdpart.c -docfdisk_SOURCES = misc-utils/docfdisk.c +docfdisk_SOURCES = misc-utils/docfdisk.c include/mtd_swab.h +docfdisk_SOURCES += include/mtd/inftl-user.h include/mtd/ftl-user.h -serve_image_SOURCES = misc-utils/serve_image.c +serve_image_SOURCES = misc-utils/serve_image.c misc-utils/mcast_image.h serve_image_LDADD = libmtd.a -recv_image_SOURCES = misc-utils/recv_image.c +recv_image_SOURCES = misc-utils/recv_image.c misc-utils/mcast_image.h recv_image_LDADD = libmtd.a -fectest_SOURCES = misc-utils/fectest.c +fectest_SOURCES = misc-utils/fectest.c misc-utils/mcast_image.h fectest_LDADD = libmtd.a flash_lock_SOURCES = misc-utils/flash_lock.c @@ -48,14 +51,10 @@ MISC_SH = \ MISC_EXTRA = \ misc-utils/MAKEDEV -MISC_HEADER = \ - misc-utils/mcast_image.h \ - misc-utils/lsmtd.h - MISC_MAN = if BUILD_LSMTD -lsmtd_SOURCES = misc-utils/lsmtd.c misc-utils/lsmtd_scan.c +lsmtd_SOURCES = misc-utils/lsmtd.c misc-utils/lsmtd_scan.c misc-utils/lsmtd.h lsmtd_LDADD = libmtd.a libubi.a lsmtd_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/misc-utils @@ -63,7 +62,7 @@ MISC_BINS += lsmtd MISC_MAN += misc-utils/lsmtd.8 endif -EXTRA_DIST += $(MISC_HEADER) $(MISC_EXTRA) $(MISC_SH) +EXTRA_DIST += $(MISC_EXTRA) $(MISC_SH) dist_man8_MANS += $(MISC_MAN) sbin_PROGRAMS += $(MISC_BINS) |