2017-11-07 22:53:57 +00:00
|
|
|
hooksdir = $(datarootdir)/initramfs-tools/hooks
|
|
|
|
|
|
|
|
hooks_SCRIPTS = \
|
|
|
|
zfs
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(top_srcdir)/contrib/initramfs/hooks/zfs.in
|
|
|
|
|
|
|
|
$(hooks_SCRIPTS):%:%.in
|
|
|
|
-$(SED) -e 's,@sbindir\@,$(sbindir),g' \
|
|
|
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
|
|
|
-e 's,@udevdir\@,$(udevdir),g' \
|
|
|
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
2017-12-17 22:14:07 +00:00
|
|
|
-e 's,@mounthelperdir\@,$(mounthelperdir),g' \
|
2017-11-07 22:53:57 +00:00
|
|
|
$< >'$@'
|
|
|
|
|
|
|
|
clean-local::
|
|
|
|
-$(RM) $(hooks_SCRIPTS)
|
|
|
|
|
|
|
|
distclean-local::
|
|
|
|
-$(RM) $(hooks_SCRIPTS)
|