HomeFreeBSD

Replace EXTRA_DIST with dist_noinst_DATA

Description

Replace EXTRA_DIST with dist_noinst_DATA

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 26 2022, 4:24 PM
GitHub <noreply@github.com>Committed on May 26 2022, 4:24 PM
Parents
rGb62829295e95: Silence unused-but-set-variable warning
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGd98a67a53a18: Replace EXTRA_DIST with dist_noinst_DATA (authored by Brian Behlendorf <behlendorf1@llnl.gov>).May 26 2022, 4:24 PM