mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
39042f9736
zpool and zed place scripts in subdirectories of libexecdir. Some distributions locate architecture independent scripts in other locations (e.g. Debian). To avoid these paths getting out of sync, centralize the definitions. Build zfs-test's default.cfg by Makefile. Use the new directory logic building tests/zfs-tests/include/default.cfg.in. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com> Closes #7597
21 lines
413 B
Makefile
21 lines
413 B
Makefile
pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/include
|
|
dist_pkgdata_DATA = \
|
|
blkdev.shlib \
|
|
commands.cfg \
|
|
libtest.shlib \
|
|
math.shlib \
|
|
properties.shlib \
|
|
zpool_script.shlib
|
|
|
|
EXTRA_DIST = default.cfg.in
|
|
|
|
nodist_pkgdata_DATA = default.cfg
|
|
|
|
$(nodist_pkgdata_DATA): %: %.in
|
|
-$(SED) -e 's,@zfsexecdir\@,$(zfsexecdir),g' \
|
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
|
$< >'$@'
|
|
|
|
distclean-local::
|
|
-$(RM) default.cfg
|