2019-07-30 17:06:09 +00:00
|
|
|
hooksdir = /usr/share/initramfs-tools/hooks
|
2017-11-07 22:53:57 +00:00
|
|
|
|
|
|
|
hooks_SCRIPTS = \
|
2020-05-03 05:43:42 +00:00
|
|
|
zfs \
|
|
|
|
zfsunlock
|
2017-11-07 22:53:57 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2020-06-22 21:30:40 +00:00
|
|
|
zfs.in \
|
|
|
|
zfsunlock.in
|
2017-11-07 22:53:57 +00:00
|
|
|
|
2020-05-02 23:46:46 +00:00
|
|
|
$(hooks_SCRIPTS):%:%.in Makefile
|
2017-11-07 22:53:57 +00:00
|
|
|
-$(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' \
|
2020-05-02 23:46:46 +00:00
|
|
|
-e 's,@DEFAULT_INITCONF_DIR\@,$(DEFAULT_INITCONF_DIR),g' \
|
2017-11-07 22:53:57 +00:00
|
|
|
$< >'$@'
|
|
|
|
|
2020-05-02 23:46:46 +00:00
|
|
|
CLEANFILES = $(hooks_SCRIPTS)
|