From d08e8a11e1a62e91a58829439f40e3741c5934b1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 25 Jun 2015 13:31:18 -0700 Subject: [PATCH] Fix submake dependency bug with .h files * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)): Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h before the submake in $(libsrc) would spin off a subsubmake for $(lib) in parallel with our submake for $(lib) (Bug#20894). --- src/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.in b/src/Makefile.in index bfb911e9ab4..1fb770d6657 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -529,7 +529,7 @@ $(etc)/DOC: lisp.mk $(libsrc)/make-docfile$(EXEEXT) $(obj) $(lisp) $(AM_V_at)$(libsrc)/make-docfile -a $(etc)/DOC -d $(lispsource) \ $(shortlisp) -$(libsrc)/make-docfile$(EXEEXT): +$(libsrc)/make-docfile$(EXEEXT): $(lib)/libgnu.a $(MAKE) -C $(libsrc) make-docfile$(EXEEXT) buildobj.h: Makefile -- 2.39.2