aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2003-09-16 02:40:49 +0000
committerMiles Bader2003-09-16 02:40:49 +0000
commit54ab09c42868e33feeb0e9eb84277c970d0bb675 (patch)
treee87f40e342232b50e3c4016a75d279f9862fd3c4
parent339a559e5e1161a73f53987c5581c4af7c31c724 (diff)
downloademacs-54ab09c42868e33feeb0e9eb84277c970d0bb675.tar.gz
emacs-54ab09c42868e33feeb0e9eb84277c970d0bb675.zip
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Add loaddefs.el bootstrapping to lisp/makefile.w32-in
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/makefile.w32-in22
2 files changed, 24 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7cc8d7101be..08fda595153 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12003-09-16 Miles Bader <miles@gnu.ai.mit.edu>
2
3 From David Ponce <david.ponce@wanadoo.fr>:
4 * makefile.w32-in (DONTCOMPILE): Add loaddefs-boot.el.
5 (bootstrap-clean-CMD, bootstrap-clean-SH): Recreate loaddefs.el
6 from loaddefs-boot.el if necessary.
7
12003-09-15 Zoltan Kemenczy <kemenczy@rogers.com> 82003-09-15 Zoltan Kemenczy <kemenczy@rogers.com>
2 9
3 * progmodes/gud.el (gud-find-class): Make jdb work again since 10 * progmodes/gud.el (gud-find-class): Make jdb work again since
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in
index e7f020e33b7..515c9f3bb72 100644
--- a/lisp/makefile.w32-in
+++ b/lisp/makefile.w32-in
@@ -87,6 +87,7 @@ DONTCOMPILE = \
87 $(lisp)/language/utf-8-lang.el \ 87 $(lisp)/language/utf-8-lang.el \
88 $(lisp)/language/georgian.el \ 88 $(lisp)/language/georgian.el \
89 $(lisp)/loaddefs.el \ 89 $(lisp)/loaddefs.el \
90 $(lisp)/loaddefs-boot.el \
90 $(lisp)/loadup.el \ 91 $(lisp)/loadup.el \
91 $(lisp)/mail/blessmail.el \ 92 $(lisp)/mail/blessmail.el \
92 $(lisp)/patcomp.el \ 93 $(lisp)/patcomp.el \
@@ -352,22 +353,33 @@ compile-after-backup: backup-compiled-files compile-always
352recompile: doit 353recompile: doit
353 $(emacs) -f batch-byte-recompile-directory $(lisp) 354 $(emacs) -f batch-byte-recompile-directory $(lisp)
354 355
355# Prepare a bootstrap in the lisp subdirectory. Build loaddefs.el, 356# Prepare a bootstrap in the lisp subdirectory.
356# because it's not sure it's up-to-date, and if it's not, that might 357#
357# lead to errors during the bootstrap because something fails to 358# Build loaddefs.el, because it's not sure it's up-to-date, and if it's not,
358# autoload as expected. Remove compiled Lisp files so that 359# that might lead to errors during the bootstrap because something fails to
359# bootstrap-emacs will be built from sources only. 360# autoload as expected. However, if there is no emacs binary, then we can't
361# build autoloads yet, so just make sure there's some loaddefs.el file, as
362# it's necessary for generating the binary (because loaddefs.el is an
363# automatically generated file, we don't want to store it in the source
364# repository).
365#
366# Remove compiled Lisp files so that bootstrap-emacs will be built from
367# sources only.
360 368
361# Need separate version for sh and native cmd.exe 369# Need separate version for sh and native cmd.exe
362bootstrap-clean: bootstrap-clean-$(SHELLTYPE) loaddefs.el 370bootstrap-clean: bootstrap-clean-$(SHELLTYPE) loaddefs.el
363 371
364bootstrap-clean-CMD: 372bootstrap-clean-CMD:
365# if exist $(EMACS) $(MAKE) $(MFLAGS) autoloads 373# if exist $(EMACS) $(MAKE) $(MFLAGS) autoloads
374 if not exist $(lisp)\loaddefs.el cp $(lisp)/loaddefs-boot.el $(lisp)/loaddefs.el
366 -for %f in (. $(WINS)) do for %g in (%f\*.elc) do @$(DEL) %g 375 -for %f in (. $(WINS)) do for %g in (%f\*.elc) do @$(DEL) %g
367 376
368bootstrap-clean-SH: 377bootstrap-clean-SH:
369# if test -f $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi 378# if test -f $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi
370# -rm -f $(lisp)/*.elc $(lisp)/*/*.elc 379# -rm -f $(lisp)/*.elc $(lisp)/*/*.elc
380 if ! test -r $(lisp)/loaddefs.el; then \
381 cp $(lisp)/loaddefs-boot.el $(lisp)/loaddefs.el; \
382 fi
371 -for dir in . $(WINS); do rm -f $$dir/*.elc; done 383 -for dir in . $(WINS); do rm -f $$dir/*.elc; done
372 384
373# Generate/update files for the bootstrap process. 385# Generate/update files for the bootstrap process.