summaryrefslogtreecommitdiff
path: root/lisp/makefile.w32-in
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2006-12-23 02:04:31 +0000
committerEli Zaretskii <eliz@gnu.org>2006-12-23 02:04:31 +0000
commitf9c474af5b548376a29be703f87d5db85f30d68e (patch)
treeb8ad647f76b763e56df9a54c4fed58ccd44f0efc /lisp/makefile.w32-in
parentfb993eafc6a3a1235f6ffe62dcb50ac0c2c168d8 (diff)
downloademacs-f9c474af5b548376a29be703f87d5db85f30d68e.tar.gz
(bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) explicitly in a recursive
Make, not implicitly through prerequisites, since the latter is wrong under parallel builds.
Diffstat (limited to 'lisp/makefile.w32-in')
-rw-r--r--lisp/makefile.w32-in7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in
index 058e71f5817..bbae20fd446 100644
--- a/lisp/makefile.w32-in
+++ b/lisp/makefile.w32-in
@@ -371,7 +371,12 @@ pre-mh-loaddefs.el-CMD:
# 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