]> git.ipfire.org Git - thirdparty/automake.git/commit
dist: add new "dist-no-built-sources" automake option.
authorAllison Karlitskaya <allison.karlitskaya@redhat.com>
Fri, 9 Jul 2021 16:03:30 +0000 (09:03 -0700)
committerKarl Berry <karl@freefriends.org>
Fri, 9 Jul 2021 16:03:30 +0000 (09:03 -0700)
commit13659a7385b69029be865d4f1b2cdfd2bee7da47
treeaf1a780e8830ba20267861dd767a510d5c45c5d7
parent6a986bc0547aa410ce9d1418dd2b6389a8b14490
dist: add new "dist-no-built-sources" automake option.

Fixes automake bug https://debbugs.gnu.org/49317.

* bin/automake.in: implement new option "no-dist-built-sources" to
omit the dependency of distdir on $(BUILT_SOURCES).  (Allison's
original patch used the option name dist-pure; trivially renamed.)
* lib/am/distdir.am (distdir) [DIST_BUILT_SOURCES]: conditionalize
the dependency.
* lib/Automake/Options.pm (_is_valid_easy_option): list it.
* doc/automake.texi (List of Automake options): document it.
* NEWS: mention it.
* t/dist-no-built-sources.sh: test it.
* t/list-of-tests.mk (handwritten_TESTS): add it.
NEWS
bin/automake.in
doc/automake.texi
lib/Automake/Options.pm
lib/am/distdir.am
t/dist-no-built-sources.sh [new file with mode: 0644]
t/list-of-tests.mk