From 9012354bf0be8f0a0d8162c651b8edb149a63224 Mon Sep 17 00:00:00 2001 From: DHE Date: Fri, 10 Apr 2015 11:14:47 -0400 Subject: [PATCH] Rebuild init scripts on source file updates The resulting script is not removed by 'make clean' or rebuilt when the source files are changed. Users with long standing git trees may find their init script is out of date. Signed-off-by: DHE Signed-off-by: Brian Behlendorf Closes #3273 --- etc/init.d/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/init.d/Makefile.am b/etc/init.d/Makefile.am index 7cdcdd780f..5a049dfe14 100644 --- a/etc/init.d/Makefile.am +++ b/etc/init.d/Makefile.am @@ -8,7 +8,7 @@ EXTRA_DIST = \ $(top_srcdir)/etc/init.d/zfs.lunar.in \ $(top_srcdir)/etc/init.d/zfs.redhat.in -$(init_SCRIPTS): +$(init_SCRIPTS): $(init_SCRIPTS).$(DEFAULT_INIT_SCRIPT).in -$(SED) -e 's,@bindir\@,$(bindir),g' \ -e 's,@sbindir\@,$(sbindir),g' \ -e 's,@udevdir\@,$(udevdir),g' \