"make dist" did not depend on $(BUILT_SOURCES)
commitac47c22e3c0c8b055cdd47ccd18621c56f807b37
authorJim Meyering <meyering@fb.com>
Thu, 20 Mar 2014 19:31:32 +0000 (20 12:31 -0700)
committerJim Meyering <meyering@fb.com>
Wed, 29 Nov 2017 03:05:59 +0000 (28 19:05 -0800)
treef7b973a340bbf9f30095a5c2645ae0dbabaecb23
parent2e6c978a944eb57d49336b01a03dd6f9e573cd81
"make dist" did not depend on $(BUILT_SOURCES)

* lib/am/distdir.am (distdir-am): New intermediate target.
Interpose this target between $(distdir) and its dependency
on $(DISTFILES), so that we can ensure $(BUILT_SOURCES) are
all created before we begin creating $(DISTFILES).
* t/dist-vs-built-sources.sh: Test for this.
* t/list-of-tests.mk (handwritten_TESTS): Add it.
* NEWS (Bugs fixed): Mention it.
Assaf Gordon reported that "make dist" (after ./configure
from a pristine clone of GNU hello) would fail due to the
absence of configmake.h while compiling lib/localcharset.c.
https://lists.gnu.org/r/bug-hello/2014-03/msg00016.html
NEWS
lib/am/distdir.am
t/dist-vs-built-sources.sh [new file with mode: 0644]
t/list-of-tests.mk