2019-07-30 20:06:09 +03:00
|
|
|
hooksdir = /usr/share/initramfs-tools/hooks
|
2017-11-08 01:53:57 +03:00
|
|
|
|
|
|
|
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-18 01:14:07 +03:00
|
|
|
-e 's,@mounthelperdir\@,$(mounthelperdir),g' \
|
2017-11-08 01:53:57 +03:00
|
|
|
$< >'$@'
|
|
|
|
|
2019-08-26 21:48:31 +03:00
|
|
|
# Double-colon rules are allowed; there are multiple independent definitions.
|
2017-11-08 01:53:57 +03:00
|
|
|
clean-local::
|
|
|
|
-$(RM) $(hooks_SCRIPTS)
|
|
|
|
|
2019-08-26 21:48:31 +03:00
|
|
|
# Double-colon rules are allowed; there are multiple independent definitions.
|
2017-11-08 01:53:57 +03:00
|
|
|
distclean-local::
|
|
|
|
-$(RM) $(hooks_SCRIPTS)
|