Dear Maintainer,
When SUBDIRS =ed in a false conditional, a subdirectory's:
* program sources
* EXTRA_DIST
end up in make dist.
When included in a false conditional, a Makefile.am's:
* program sources
end up in make dist, but EXTRA_DIST is ignored.
That is, given [1] with the only diff being SUBDIRS/include [2],
the diff of tar -taf is
diff --git a/SUBDIRS.tar.gz.list b/include.tar.gz.list
index ea08d75..c938d6d 100644
--- a/SUBDIRS.tar.gz.list
+++ b/include.tar.gz.list
@@ -1,10 +1,8 @@
report-0.0.0/
report-0.0.0/a/
report-0.0.0/a/amongus.c
-report-0.0.0/a/amongus.jpeg
report-0.0.0/aclocal.m4
report-0.0.0/a/Makefile.am
-report-0.0.0/a/Makefile.in
report-0.0.0/compile
report-0.0.0/config.guess
report-0.0.0/config.sub
With SUBDIRS =, the only CONFIG_FALSE-dependent line is
@CONFIG_FALSE@SUBDIRS = a
in Makefile.in; with include, there's
@CONFIG_FALSE@a_PROGRAMS = a/amongus$(EXEEXT)
@CONFIG_FALSE@adir = /
@CONFIG_FALSE@EXTRA_DIST = a/amongus.jpeg
the first two are correct, the third isn't.
Best,
наб
This is a forward of OpenZFS bug #13459:
https://github.com/openzfs/zfs/issues/13459