2011-08-09 23:49:18 +00:00
|
|
|
initdir = $(DEFAULT_INIT_DIR)
|
|
|
|
init_SCRIPTS = zfs
|
2011-03-17 22:02:28 +00:00
|
|
|
|
2011-08-09 23:49:18 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(top_srcdir)/etc/init.d/zfs.fedora.in \
|
|
|
|
$(top_srcdir)/etc/init.d/zfs.gentoo.in \
|
|
|
|
$(top_srcdir)/etc/init.d/zfs.lsb.in \
|
|
|
|
$(top_srcdir)/etc/init.d/zfs.lunar.in \
|
2013-02-17 19:11:41 +00:00
|
|
|
$(top_srcdir)/etc/init.d/zfs.redhat.in
|
2011-08-09 23:49:18 +00:00
|
|
|
|
2015-04-10 15:14:47 +00:00
|
|
|
$(init_SCRIPTS): $(init_SCRIPTS).$(DEFAULT_INIT_SCRIPT).in
|
2011-08-09 23:49:18 +00:00
|
|
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
|
|
|
-e 's,@sbindir\@,$(sbindir),g' \
|
|
|
|
-e 's,@udevdir\@,$(udevdir),g' \
|
|
|
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
|
|
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
|
|
|
-e 's,@initdir\@,$(initdir),g' \
|
2015-03-05 21:11:05 +00:00
|
|
|
-e 's,@runstatedir\@,$(runstatedir),g' \
|
2011-09-22 22:36:42 +00:00
|
|
|
'$@.$(DEFAULT_INIT_SCRIPT).in' >'$@'
|
2011-08-09 23:49:18 +00:00
|
|
|
|
|
|
|
distclean-local::
|
|
|
|
-$(RM) $(init_SCRIPTS)
|