diff options
author | Richard Laager <[email protected]> | 2020-02-05 18:02:43 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-03-10 09:53:20 -0700 |
commit | 49afc91387cdf91e1b6e247211b16209be2fa252 (patch) | |
tree | ecd53a10a8975ce32bd2eff1b0173f04567cab72 | |
parent | dc4dd467287d1121c0c7e860548293a834774b1a (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]>
-rw-r--r-- | etc/init.d/Makefile.am | 4 |
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) |