aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2000-06-11 03:54:29 +0000
committerStefan Monnier2000-06-11 03:54:29 +0000
commit1499d2dd8a652689b44195fe5a2bfbb975958bcd (patch)
tree617fecd6949bafd891525ed929fb3beaaa48b069
parentb54f61ed952f1b53a356714cee81136ff23ff8ef (diff)
downloademacs-1499d2dd8a652689b44195fe5a2bfbb975958bcd.tar.gz
emacs-1499d2dd8a652689b44195fe5a2bfbb975958bcd.zip
(EMACSOPT): Remove --no-init-file (implied by -batch).
(autoloads): Explicitly load `autoload' to bootstrap without loaddefs. (backup-compiled-files): Ignore errors during `tar'. (bootstrap): Make autoloads before elc files.
-rw-r--r--lisp/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/Makefile b/lisp/Makefile
index b51efe9155c..d327f0e8add 100644
--- a/lisp/Makefile
+++ b/lisp/Makefile
@@ -10,7 +10,7 @@ EMACS = ../src/emacs
10# Command line flags for Emacs. This must include --multibyte, 10# Command line flags for Emacs. This must include --multibyte,
11# otherwise some files will not compile. 11# otherwise some files will not compile.
12 12
13EMACSOPT = --no-init-file --no-site-file --multibyte -batch 13EMACSOPT = -batch --no-site-file --multibyte
14 14
15SOURCES = *.el COPYING Makefile 15SOURCES = *.el COPYING Makefile
16lisptagsfiles1 = [a-zA-Z]*.el 16lisptagsfiles1 = [a-zA-Z]*.el
@@ -79,7 +79,7 @@ loaddefs.el:
79autoloads: loaddefs.el doit 79autoloads: loaddefs.el doit
80 wd=.; $(setwins); \ 80 wd=.; $(setwins); \
81 echo Directories: $$wins; \ 81 echo Directories: $$wins; \
82 $(emacs) --eval '(setq generated-autoload-file "'`pwd`'/loaddefs.el")' -f batch-update-autoloads $$wins 82 $(emacs) -l autoload --eval '(setq generated-autoload-file "'`pwd`'/loaddefs.el")' -f batch-update-autoloads $$wins
83 83
84subdirs.el: 84subdirs.el:
85 $(MAKE) $(MFLAGS) update-subdirs 85 $(MAKE) $(MFLAGS) update-subdirs
@@ -130,7 +130,7 @@ compile-files: subdirs.el doit
130 130
131backup-compiled-files: 131backup-compiled-files:
132 -mv elc.tar.gz elc.tar.gz~ 132 -mv elc.tar.gz elc.tar.gz~
133 tar czf elc.tar.gz *.elc */*.elc 133 -tar czf elc.tar.gz *.elc */*.elc
134 134
135# Compile Lisp files, but save old compiled files first. 135# Compile Lisp files, but save old compiled files first.
136 136
@@ -155,6 +155,6 @@ bootstrap-clean:
155 155
156# Generate/update files for the bootstrap process. 156# Generate/update files for the bootstrap process.
157 157
158bootstrap: compile-files autoloads custom-deps 158bootstrap: autoloads compile-files custom-deps
159 159
160# Makefile ends here. 160# Makefile ends here.