diff options
| author | Miles Bader | 2003-09-16 02:40:49 +0000 |
|---|---|---|
| committer | Miles Bader | 2003-09-16 02:40:49 +0000 |
| commit | 54ab09c42868e33feeb0e9eb84277c970d0bb675 (patch) | |
| tree | e87f40e342232b50e3c4016a75d279f9862fd3c4 | |
| parent | 339a559e5e1161a73f53987c5581c4af7c31c724 (diff) | |
| download | emacs-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/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/makefile.w32-in | 22 |
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 @@ | |||
| 1 | 2003-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 | |||
| 1 | 2003-09-15 Zoltan Kemenczy <kemenczy@rogers.com> | 8 | 2003-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 | |||
| 352 | recompile: doit | 353 | recompile: 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 |
| 362 | bootstrap-clean: bootstrap-clean-$(SHELLTYPE) loaddefs.el | 370 | bootstrap-clean: bootstrap-clean-$(SHELLTYPE) loaddefs.el |
| 363 | 371 | ||
| 364 | bootstrap-clean-CMD: | 372 | bootstrap-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 | ||
| 368 | bootstrap-clean-SH: | 377 | bootstrap-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. |