mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-29 04:19:35 +03:00
2428fbbfcf
Use automake to build initramfs scripts and hooks. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: loli10K <ezomori.nozomu@gmail.com> Closes #6761
21 lines
372 B
Makefile
21 lines
372 B
Makefile
scriptsdir = $(datarootdir)/initramfs-tools/scripts
|
|
|
|
scripts_SCRIPTS = \
|
|
zfs
|
|
|
|
SUBDIRS = local-top
|
|
|
|
EXTRA_DIST = \
|
|
$(top_srcdir)/contrib/initramfs/scripts/zfs.in
|
|
|
|
$(scripts_SCRIPTS):%:%.in
|
|
-$(SED) -e 's,@sbindir\@,$(sbindir),g' \
|
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
|
$< >'$@'
|
|
|
|
clean-local::
|
|
-$(RM) $(scripts_SCRIPTS)
|
|
|
|
distclean-local::
|
|
-$(RM) $(scripts_SCRIPTS)
|