]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix submake dependency bug with .h files
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 Jun 2015 20:31:18 +0000 (13:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 Jun 2015 20:31:38 +0000 (13:31 -0700)
* 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

index bfb911e9ab44d3d82a7a63e027678dc42ae2c792..1fb770d6657f616dae1c6d33b63030e3e5af9837 100644 (file)
@@ -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