Files
mirror_zfs/contrib/initramfs/hooks/Makefile.am
T

21 lines
544 B
Makefile
Raw Normal View History

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