# HG changeset patch # User Eli Zaretskii # Date 1166839471 0 # Node ID 5b6a90ea703794df20b4d33e3a365529216acb21 # Parent 506b356e829199200f87dd17dac70e17512eaddf (bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) explicitly in a recursive Make, not implicitly through prerequisites, since the latter is wrong under parallel builds. diff -r 506b356e8291 -r 5b6a90ea7037 lisp/makefile.w32-in --- a/lisp/makefile.w32-in Sat Dec 23 01:57:15 2006 +0000 +++ b/lisp/makefile.w32-in Sat Dec 23 02:04:31 2006 +0000 @@ -371,7 +371,12 @@ # sources only. # Need separate version for sh and native cmd.exe -bootstrap-clean: bootstrap-clean-$(SHELLTYPE) $(lisp)/loaddefs.el +# Note that bootstrap-clean-$(SHELLTYPE) copies ldefs-boot.el to loaddefs.el, +# and thus the almost-empty loaddefs.el crafted by the $(lisp)/loaddefs.el +# target can NOT be built _after_ bootstrap-clean-$(SHELLTYPE) does its +# thing, or else an empty loaddefs.el will overwrite the full one. +bootstrap-clean: $(lisp)/loaddefs.el + $(MAKE) $(MFLAGS) bootstrap-clean-$(SHELLTYPE) bootstrap-clean-CMD: # if exist "$(EMACS)" $(MAKE) $(MFLAGS) autoloads