2019-07-30 20:06:09 +03:00
|
|
|
hooksdir = /usr/share/initramfs-tools/hooks
|
2017-11-08 01:53:57 +03:00
|
|
|
|
|
|
|
hooks_SCRIPTS = \
|
2020-05-03 08:43:42 +03:00
|
|
|
zfs \
|
|
|
|
zfsunlock
|
2017-11-08 01:53:57 +03:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2020-05-03 08:43:42 +03:00
|
|
|
$(top_srcdir)/contrib/initramfs/hooks/zfs.in \
|
|
|
|
$(top_srcdir)/contrib/initramfs/hooks/zfsunlock.in
|
2017-11-08 01:53:57 +03:00
|
|
|
|
2020-05-03 02:46:46 +03:00
|
|
|
$(hooks_SCRIPTS):%:%.in Makefile
|
2017-11-08 01:53:57 +03:00
|
|
|
-$(SED) -e 's,@sbindir\@,$(sbindir),g' \
|
|
|
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
|
|
|
-e 's,@udevdir\@,$(udevdir),g' \
|
|
|
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
2017-12-18 01:14:07 +03:00
|
|
|
-e 's,@mounthelperdir\@,$(mounthelperdir),g' \
|
2020-05-03 02:46:46 +03:00
|
|
|
-e 's,@DEFAULT_INITCONF_DIR\@,$(DEFAULT_INITCONF_DIR),g' \
|
2017-11-08 01:53:57 +03:00
|
|
|
$< >'$@'
|
|
|
|
|
2020-05-03 02:46:46 +03:00
|
|
|
CLEANFILES = $(hooks_SCRIPTS)
|