aboutsummaryrefslogtreecommitdiffstats
path: root/etc/init.d
diff options
context:
space:
mode:
authorRichard Laager <[email protected]>2020-02-05 18:02:43 -0600
committerBrian Behlendorf <[email protected]>2020-03-10 09:53:20 -0700
commit49afc91387cdf91e1b6e247211b16209be2fa252 (patch)
treeecd53a10a8975ce32bd2eff1b0173f04567cab72 /etc/init.d
parentdc4dd467287d1121c0c7e860548293a834774b1a (diff)
Delete built init scripts in make clean
Previously, they were being deleted in make distclean. This brings it in line with the example: https://www.gnu.org/software/automake/manual/html_node/Scripts.html Signed-off-by: Richard Laager <[email protected]>
Diffstat (limited to 'etc/init.d')
-rw-r--r--etc/init.d/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/init.d/Makefile.am b/etc/init.d/Makefile.am
index 0cccca641..953c31fd5 100644
--- a/etc/init.d/Makefile.am
+++ b/etc/init.d/Makefile.am
@@ -40,6 +40,4 @@ $(init_SCRIPTS) $(initconf_SCRIPTS) $(initcommon_SCRIPTS):%:%.in Makefile
[ '$@' = 'zfs-functions' -o '$@' = 'zfs' ] || \
chmod +x '$@')
-# Double-colon rules are allowed; there are multiple independent definitions.
-distclean-local::
- -$(RM) $(init_SCRIPTS) $(initcommon_SCRIPTS) $(initconf_SCRIPTS)
+CLEANFILES = $(init_SCRIPTS) $(initcommon_SCRIPTS) $(initconf_SCRIPTS)