summaryrefslogtreecommitdiffstats
path: root/etc/init.d
diff options
context:
space:
mode:
authorDHE <git@dehacked.net>2015-04-10 11:14:47 -0400
committerBrian Behlendorf <behlendorf1@llnl.gov>2015-04-14 13:26:49 -0700
commit9012354bf0be8f0a0d8162c651b8edb149a63224 (patch)
tree1ec8413c703f9f9968c4f01ed44e694f6c708025 /etc/init.d
parent5074bfe8ade40ddc64cba5526eb1333a73621e92 (diff)
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 <git@dehacked.net> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #3273
Diffstat (limited to 'etc/init.d')
-rw-r--r--etc/init.d/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/Makefile.am b/etc/init.d/Makefile.am
index 7cdcdd780..5a049dfe1 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' \