87 |
$(lisp)/language/utf-8-lang.el \ |
$(lisp)/language/utf-8-lang.el \ |
88 |
$(lisp)/language/georgian.el \ |
$(lisp)/language/georgian.el \ |
89 |
$(lisp)/loaddefs.el \ |
$(lisp)/loaddefs.el \ |
90 |
|
$(lisp)/loaddefs-boot.el \ |
91 |
$(lisp)/loadup.el \ |
$(lisp)/loadup.el \ |
92 |
$(lisp)/mail/blessmail.el \ |
$(lisp)/mail/blessmail.el \ |
93 |
$(lisp)/patcomp.el \ |
$(lisp)/patcomp.el \ |
353 |
recompile: doit |
recompile: doit |
354 |
$(emacs) -f batch-byte-recompile-directory $(lisp) |
$(emacs) -f batch-byte-recompile-directory $(lisp) |
355 |
|
|
356 |
# Prepare a bootstrap in the lisp subdirectory. Build loaddefs.el, |
# Prepare a bootstrap in the lisp subdirectory. |
357 |
# because it's not sure it's up-to-date, and if it's not, that might |
# |
358 |
# lead to errors during the bootstrap because something fails to |
# Build loaddefs.el, because it's not sure it's up-to-date, and if it's not, |
359 |
# autoload as expected. Remove compiled Lisp files so that |
# that might lead to errors during the bootstrap because something fails to |
360 |
# bootstrap-emacs will be built from sources only. |
# 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. |
368 |
|
|
369 |
# Need separate version for sh and native cmd.exe |
# Need separate version for sh and native cmd.exe |
370 |
bootstrap-clean: bootstrap-clean-$(SHELLTYPE) loaddefs.el |
bootstrap-clean: bootstrap-clean-$(SHELLTYPE) loaddefs.el |
371 |
|
|
372 |
bootstrap-clean-CMD: |
bootstrap-clean-CMD: |
373 |
# if exist $(EMACS) $(MAKE) $(MFLAGS) autoloads |
# if exist $(EMACS) $(MAKE) $(MFLAGS) autoloads |
374 |
|
if not exist $(lisp)\loaddefs.el cp $(lisp)/loaddefs-boot.el $(lisp)/loaddefs.el |
375 |
-for %f in (. $(WINS)) do for %g in (%f\*.elc) do @$(DEL) %g |
-for %f in (. $(WINS)) do for %g in (%f\*.elc) do @$(DEL) %g |
376 |
|
|
377 |
bootstrap-clean-SH: |
bootstrap-clean-SH: |
378 |
# if test -f $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi |
# if test -f $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi |
379 |
# -rm -f $(lisp)/*.elc $(lisp)/*/*.elc |
# -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 |
383 |
-for dir in . $(WINS); do rm -f $$dir/*.elc; done |
-for dir in . $(WINS); do rm -f $$dir/*.elc; done |
384 |
|
|
385 |
# Generate/update files for the bootstrap process. |
# Generate/update files for the bootstrap process. |