aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2004-03-02 22:10:07 +0000
committerStefan Monnier2004-03-02 22:10:07 +0000
commit36801f7f476c0917d908051abe5e0cd889a0afeb (patch)
treeb1f13ec100d0c7a391593f8da01bac21b5184bdf
parent2e9bdf15e6c7ffbd950a727a92ef7c7e792040e1 (diff)
downloademacs-36801f7f476c0917d908051abe5e0cd889a0afeb.tar.gz
emacs-36801f7f476c0917d908051abe5e0cd889a0afeb.zip
(AUTOGENEL): New var.
(bootstrap-prepare): Rename from bootstrap-clean. Don't remove elc files. (maintainer-clean): New target.
-rw-r--r--lisp/Makefile.in18
1 files changed, 12 insertions, 6 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index fad13704c3c..5d9abc8683c 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -1,5 +1,5 @@
1# Maintenance productions for the Lisp directory 1# Maintenance productions for the Lisp directory
2# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. 2# Copyright (C) 2000, 01, 03, 2004 Free Software Foundation, Inc.
3 3
4# This file is part of GNU Emacs. 4# This file is part of GNU Emacs.
5 5
@@ -110,6 +110,13 @@ DONTCOMPILE = \
110 $(lisp)/term/wyse50.el \ 110 $(lisp)/term/wyse50.el \
111 $(lisp)/version.el 111 $(lisp)/version.el
112 112
113# Elisp files auto-generated.
114AUTOGENEL = loaddefs.el \
115 cus-load.el \
116 finder-inf.el \
117 subdirs.el \
118 eshell/esh-groups.el
119
113# Files to compile before others during a bootstrap. This is done to 120# Files to compile before others during a bootstrap. This is done to
114# speed up the bootstrap process. The CC files are compiled first 121# speed up the bootstrap process. The CC files are compiled first
115# because CC mode tweaks the compilation process, and requiring 122# because CC mode tweaks the compilation process, and requiring
@@ -294,11 +301,8 @@ $(lisp)/progmodes/cc-mode.elc: \
294# it's necessary for generating the binary (because loaddefs.el is an 301# it's necessary for generating the binary (because loaddefs.el is an
295# automatically generated file, we don't want to store it in the source 302# automatically generated file, we don't want to store it in the source
296# repository). 303# repository).
297#
298# Remove compiled Lisp files so that bootstrap-emacs will be built from
299# sources only.
300 304
301bootstrap-clean: 305bootstrap-prepare:
302 if test -x $(EMACS); then \ 306 if test -x $(EMACS); then \
303 $(MAKE) $(MFLAGS) autoloads; \ 307 $(MAKE) $(MFLAGS) autoloads; \
304 else \ 308 else \
@@ -306,7 +310,9 @@ bootstrap-clean:
306 cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el; \ 310 cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el; \
307 fi \ 311 fi \
308 fi 312 fi
309 cd $(lisp); rm -f *.elc */*.elc 313
314maintainer-clean:
315 cd $(lisp); rm -f *.elc */*.elc $(AUTOGENEL)
310 316
311# Generate/update files for the bootstrap process. 317# Generate/update files for the bootstrap process.
312 318