2013-02-17 20:10:17 +00:00
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
Retire legacy test infrastructure
* Removed zpios kmod, utility, headers and man page.
* Removed unused scripts zpios-profile/*, zpios-test/*,
zpool-config/*, smb.sh, zpios-sanity.sh, zpios-survey.sh,
zpios.sh, and zpool-create.sh.
* Removed zfs-script-config.sh.in. When building 'make' generates
a common.sh with in-tree path information from the common.sh.in
template. This file and sourced by the test scripts and used
for in-tree testing, it is not included in the packages. When
building packages 'make install' uses the same template to
create a new common.sh which is appropriate for the packaging.
* Removed unused functions/variables from scripts/common.sh.in.
Only minimal path information and configuration environment
variables remain.
* Removed unused scripts from scripts/ directory.
* Remaining shell scripts in the scripts directory updated to
cleanly pass shellcheck and added to checked scripts.
* Renamed tests/test-runner/cmd/ to tests/test-runner/bin/ to
match install location name.
* Removed last traces of the --enable-debug-dmu-tx configure
options which was retired some time ago.
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6509
2017-08-16 00:26:38 +00:00
|
|
|
|
2013-02-08 18:01:41 +00:00
|
|
|
dist_pkgdata_SCRIPTS = \
|
2014-02-05 00:10:38 +00:00
|
|
|
$(top_srcdir)/scripts/zimport.sh \
|
2010-09-04 20:26:23 +00:00
|
|
|
$(top_srcdir)/scripts/zfs.sh \
|
2015-07-01 22:23:09 +00:00
|
|
|
$(top_srcdir)/scripts/zfs-tests.sh \
|
2016-03-23 01:08:59 +00:00
|
|
|
$(top_srcdir)/scripts/zloop.sh \
|
2016-05-06 17:24:06 +00:00
|
|
|
$(top_srcdir)/scripts/zfs-helpers.sh
|
Retire legacy test infrastructure
* Removed zpios kmod, utility, headers and man page.
* Removed unused scripts zpios-profile/*, zpios-test/*,
zpool-config/*, smb.sh, zpios-sanity.sh, zpios-survey.sh,
zpios.sh, and zpool-create.sh.
* Removed zfs-script-config.sh.in. When building 'make' generates
a common.sh with in-tree path information from the common.sh.in
template. This file and sourced by the test scripts and used
for in-tree testing, it is not included in the packages. When
building packages 'make install' uses the same template to
create a new common.sh which is appropriate for the packaging.
* Removed unused functions/variables from scripts/common.sh.in.
Only minimal path information and configuration environment
variables remain.
* Removed unused scripts from scripts/ directory.
* Remaining shell scripts in the scripts directory updated to
cleanly pass shellcheck and added to checked scripts.
* Renamed tests/test-runner/cmd/ to tests/test-runner/bin/ to
match install location name.
* Removed last traces of the --enable-debug-dmu-tx configure
options which was retired some time ago.
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6509
2017-08-16 00:26:38 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
common.sh.in \
|
|
|
|
commitcheck.sh \
|
|
|
|
dkms.mkconf \
|
|
|
|
dkms.postbuild \
|
|
|
|
kmodtool \
|
|
|
|
paxcheck.sh \
|
|
|
|
zfs2zol-patch.sed \
|
|
|
|
cstyle.pl
|
|
|
|
|
|
|
|
define EXTRA_ENVIRONMENT
|
|
|
|
|
|
|
|
# Only required for in-tree use
|
|
|
|
export INTREE="yes"
|
|
|
|
export GDB="/usr/bin/libtool --mode=execute gdb"
|
|
|
|
export LDMOD=/sbin/insmod
|
|
|
|
|
|
|
|
export CMD_DIR=@abs_top_builddir@/cmd
|
|
|
|
export UDEV_RULE_DIR=@abs_top_builddir@/udev/rules.d
|
|
|
|
export ZEDLET_ETC_DIR=$$CMD_DIR/zed/zed.d
|
|
|
|
export ZEDLET_LIBEXEC_DIR=$$CMD_DIR/zed/zed.d
|
|
|
|
export ZPOOL_SCRIPT_DIR=$$CMD_DIR/zpool/zpool.d
|
|
|
|
export ZPOOL_SCRIPTS_PATH=$$CMD_DIR/zpool/zpool.d
|
|
|
|
|
|
|
|
export INSTALL_UDEV_DIR=@udevdir@
|
|
|
|
export INSTALL_UDEV_RULE_DIR=@udevruledir@
|
|
|
|
export INSTALL_MOUNT_HELPER_DIR=@mounthelperdir@
|
|
|
|
export INSTALL_SYSCONF_DIR=@sysconfdir@
|
|
|
|
|
|
|
|
export KMOD_SPL=@SPL_OBJ@/module/spl/spl.ko
|
|
|
|
export KMOD_SPLAT=@SPL_OBJ@/module/splat/splat.ko
|
|
|
|
export KMOD_ZAVL=@abs_top_builddir@/module/avl/zavl.ko
|
|
|
|
export KMOD_ZNVPAIR=@abs_top_builddir@/module/nvpair/znvpair.ko
|
|
|
|
export KMOD_ZUNICODE=@abs_top_builddir@/module/unicode/zunicode.ko
|
|
|
|
export KMOD_ZCOMMON=@abs_top_builddir@/module/zcommon/zcommon.ko
|
|
|
|
export KMOD_ICP=@abs_top_builddir@/module/icp/icp.ko
|
|
|
|
export KMOD_ZFS=@abs_top_builddir@/module/zfs/zfs.ko
|
|
|
|
endef
|
|
|
|
|
|
|
|
export EXTRA_ENVIRONMENT
|
|
|
|
|
|
|
|
all-local:
|
|
|
|
-$(SED) -e '\|^export BIN_DIR=|s|$$|@abs_top_builddir@/bin|' \
|
|
|
|
-e '\|^export SBIN_DIR=|s|$$|@abs_top_builddir@/bin|' \
|
|
|
|
-e '\|^export ZTS_DIR=|s|$$|@abs_top_srcdir@/tests|' \
|
|
|
|
-e '\|^export SCRIPT_DIR=|s|$$|@abs_top_srcdir@/scripts|' \
|
|
|
|
common.sh.in >common.sh
|
|
|
|
-echo "$$EXTRA_ENVIRONMENT" >>common.sh
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
-$(RM) common.sh
|
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
-$(SED) -e '\|^export BIN_DIR=|s|$$|@bindir@|' \
|
|
|
|
-e '\|^export SBIN_DIR=|s|$$|@sbindir@|' \
|
|
|
|
-e '\|^export ZTS_DIR=|s|$$|@datadir@/@PACKAGE@|' \
|
|
|
|
-e '\|^export SCRIPT_DIR=|s|$$|@datadir@/@PACKAGE@|' \
|
|
|
|
common.sh.in >$(DESTDIR)$(datadir)/@PACKAGE@/common.sh
|