mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
7513807320
There's no need to specify the srcdir explicitly in _HEADERS and EXTRA_DIST. Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Closes #10493
21 lines
468 B
Makefile
21 lines
468 B
Makefile
hooksdir = /usr/share/initramfs-tools/hooks
|
|
|
|
hooks_SCRIPTS = \
|
|
zfs \
|
|
zfsunlock
|
|
|
|
EXTRA_DIST = \
|
|
zfs.in \
|
|
zfsunlock.in
|
|
|
|
$(hooks_SCRIPTS):%:%.in Makefile
|
|
-$(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' \
|
|
-e 's,@DEFAULT_INITCONF_DIR\@,$(DEFAULT_INITCONF_DIR),g' \
|
|
$< >'$@'
|
|
|
|
CLEANFILES = $(hooks_SCRIPTS)
|