From 49afc91387cdf91e1b6e247211b16209be2fa252 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Wed, 5 Feb 2020 18:02:43 -0600 Subject: [PATCH] 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 --- etc/init.d/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/etc/init.d/Makefile.am b/etc/init.d/Makefile.am index 0cccca6416..953c31fd5e 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)