mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
d98a67a53a
The EXTRA_DIST variable is ignored when used in the FALSE conditional of a Makefile.am. This results in the `make dist` target omitting these files from the generated tarball unless CONFIG_USER is defined. This issue can be avoided by switching to use the dist_noinst_DATA variable which is handled as expected by autoconf. This change also adds support for --with-config=dist as an alias for --with-config=srpm and updates the GitHub workflows to use it. Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #13459 Closes #13505
31 lines
812 B
Makefile
31 lines
812 B
Makefile
include $(srcdir)/%D%/zfs-tests/Makefile.am
|
|
|
|
|
|
scripts_test_runner_bindir = $(datadir)/$(PACKAGE)/test-runner/bin
|
|
scripts_test_runner_bin_SCRIPTS = \
|
|
%D%/test-runner/bin/test-runner.py \
|
|
%D%/test-runner/bin/zts-report.py
|
|
|
|
SUBSTFILES += $(scripts_test_runner_bin_SCRIPTS)
|
|
|
|
|
|
scripts_test_runner_includedir = $(datadir)/$(PACKAGE)/test-runner/include
|
|
dist_scripts_test_runner_include_DATA = \
|
|
%D%/test-runner/include/logapi.shlib
|
|
|
|
|
|
scripts_runfilesdir = $(datadir)/$(PACKAGE)/runfiles
|
|
dist_scripts_runfiles_DATA = \
|
|
%D%/runfiles/common.run \
|
|
%D%/runfiles/freebsd.run \
|
|
%D%/runfiles/linux.run \
|
|
%D%/runfiles/longevity.run \
|
|
%D%/runfiles/perf-regression.run \
|
|
%D%/runfiles/sanity.run \
|
|
%D%/runfiles/sunos.run
|
|
|
|
|
|
dist_noinst_DATA += %D%/README.md
|
|
|
|
SHELLCHECKSCRIPTS += $(shell find $(srcdir)/%D% -name '*.sh')
|