mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
e2d936e0f8
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Signed-off-by: loli10K <ezomori.nozomu@gmail.com> Closes #6962
22 lines
464 B
Makefile
22 lines
464 B
Makefile
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' \
|
|
-e 's,@mounthelperdir\@,$(mounthelperdir),g' \
|
|
$< >'$@'
|
|
|
|
clean-local::
|
|
-$(RM) $(hooks_SCRIPTS)
|
|
|
|
distclean-local::
|
|
-$(RM) $(hooks_SCRIPTS)
|