2011-08-10 03:49:18 +04:00
|
|
|
initdir = $(DEFAULT_INIT_DIR)
|
|
|
|
init_SCRIPTS = zfs
|
2011-03-18 01:02:28 +03:00
|
|
|
|
2011-08-10 03:49:18 +04: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 \
|
|
|
|
$(top_srcdir)/etc/init.d/zfs.redhat.in \
|
|
|
|
$(top_srcdir)/etc/init.d/zfs.arch.in
|
|
|
|
|
|
|
|
$(init_SCRIPTS):
|
|
|
|
-$(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' \
|
|
|
|
'zfs.$(DEFAULT_INIT_SCRIPT).in' >'$@'
|
|
|
|
|
|
|
|
distclean-local::
|
|
|
|
-$(RM) $(init_SCRIPTS)
|