Do not include AC_CONFIG_FILES in BUILT_SOURCES
BUILT_SOURCES is used to trigger early generation of files in the `make`
process to workaround dependency problems:
https://www.gnu.org/software/automake/manual/html_node/Sources.html
AC_CONFIG_FILES are generated by `configure`, so they are already
present in the file system even before `make` is called. Furthermore,
AC_CONFIG_FILES already properly handle dist and clean targets, so no
need to add them to EXTRA_DIST or DISTCLEANFILES:
https://www.gnu.org/software/automake/manual/html_node/Requirements.html
This commit is contained in:
parent
779437feef
commit
60dd78485c
|
|
@ -68,16 +68,8 @@ noinst_HEADERS = \
|
|||
globals.h
|
||||
|
||||
EXTRA_DIST = \
|
||||
Doxyfile.in \
|
||||
FEATURES \
|
||||
Kbuild.in \
|
||||
README.EoE \
|
||||
ethercat.spec \
|
||||
ethercat.spec.in
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Doxyfile \
|
||||
Kbuild \
|
||||
ethercat.spec
|
||||
|
||||
modules:
|
||||
|
|
|
|||
|
|
@ -180,12 +180,6 @@ noinst_HEADERS = \
|
|||
r8169-4.4-ethercat.c \
|
||||
r8169-4.4-orig.c
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
|
|
|
|||
|
|
@ -28,16 +28,12 @@
|
|||
#------------------------------------------------------------------------------
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in \
|
||||
gpio.h \
|
||||
module.h \
|
||||
netdev.h \
|
||||
sram.h \
|
||||
update.h
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
#------------------------------------------------------------------------------
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in \
|
||||
LICENSE \
|
||||
e1000-2.6.13-ethercat.h \
|
||||
e1000-2.6.13-orig.h \
|
||||
|
|
@ -354,9 +353,6 @@ EXTRA_DIST = \
|
|||
e1000_param-4.4-orig.c
|
||||
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,6 @@ EXTRA_DIST = \
|
|||
82571-4.4-ethercat.h \
|
||||
82571-4.4-orig.c \
|
||||
82571-4.4-orig.h \
|
||||
Kbuild.in \
|
||||
defines-2.6.32-ethercat.h \
|
||||
defines-2.6.32-orig.h \
|
||||
defines-2.6.33-ethercat.h \
|
||||
|
|
@ -461,9 +460,6 @@ EXTRA_DIST = \
|
|||
regs-4.4-orig.h \
|
||||
update.sh
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
|
|
|
|||
|
|
@ -110,9 +110,6 @@ EXTRA_DIST = \
|
|||
igb_ptp-4.4-orig.c \
|
||||
update.sh
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
|
|
|
|||
|
|
@ -66,10 +66,4 @@ DIST_SUBDIRS = \
|
|||
xenomai \
|
||||
xenomai_posix
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -30,12 +30,8 @@
|
|||
#------------------------------------------------------------------------------
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in \
|
||||
dc_rtai_sample.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
|
|
|
|||
|
|
@ -32,12 +32,8 @@
|
|||
#------------------------------------------------------------------------------
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in \
|
||||
mini.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
|
|
|
|||
|
|
@ -30,12 +30,8 @@
|
|||
#------------------------------------------------------------------------------
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in \
|
||||
rtai_sample.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
|
|
|
|||
|
|
@ -36,12 +36,6 @@ noinst_HEADERS = \
|
|||
serial.h \
|
||||
tty.c
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
|
|
|
|||
|
|
@ -74,12 +74,6 @@ noinst_HEADERS = \
|
|||
sync_config.c sync_config.h \
|
||||
voe_handler.c voe_handler.h
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
|
|
|
|||
|
|
@ -45,8 +45,4 @@ EXTRA_DIST = \
|
|||
ethercat.service.in \
|
||||
ifup-eoe.sh
|
||||
|
||||
BUILT_SOURCES = \
|
||||
ethercatctl \
|
||||
ethercat.service
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -31,8 +31,4 @@ initdir = $(sysconfdir)/init.d
|
|||
|
||||
init_SCRIPTS = ethercat
|
||||
|
||||
EXTRA_DIST = ethercat.in
|
||||
|
||||
BUILT_SOURCES = ethercat
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -32,12 +32,8 @@ noinst_HEADERS = \
|
|||
module.c
|
||||
|
||||
EXTRA_DIST = \
|
||||
Kbuild.in \
|
||||
README
|
||||
|
||||
BUILT_SOURCES = \
|
||||
Kbuild
|
||||
|
||||
modules:
|
||||
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" modules
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue