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:
Nicola Fontana
2021-05-22 08:25:26 +02:00
parent 779437feef
commit 60dd78485c
15 changed files with 0 additions and 71 deletions
-4
View File
@@ -45,8 +45,4 @@ EXTRA_DIST = \
ethercat.service.in \
ifup-eoe.sh
BUILT_SOURCES = \
ethercatctl \
ethercat.service
#------------------------------------------------------------------------------
-4
View File
@@ -31,8 +31,4 @@ initdir = $(sysconfdir)/init.d
init_SCRIPTS = ethercat
EXTRA_DIST = ethercat.in
BUILT_SOURCES = ethercat
#------------------------------------------------------------------------------