diff options
| author | Stefan Monnier | 2000-06-11 03:54:29 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-06-11 03:54:29 +0000 |
| commit | 1499d2dd8a652689b44195fe5a2bfbb975958bcd (patch) | |
| tree | 617fecd6949bafd891525ed929fb3beaaa48b069 | |
| parent | b54f61ed952f1b53a356714cee81136ff23ff8ef (diff) | |
| download | emacs-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/Makefile | 8 |
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 | ||
| 13 | EMACSOPT = --no-init-file --no-site-file --multibyte -batch | 13 | EMACSOPT = -batch --no-site-file --multibyte |
| 14 | 14 | ||
| 15 | SOURCES = *.el COPYING Makefile | 15 | SOURCES = *.el COPYING Makefile |
| 16 | lisptagsfiles1 = [a-zA-Z]*.el | 16 | lisptagsfiles1 = [a-zA-Z]*.el |
| @@ -79,7 +79,7 @@ loaddefs.el: | |||
| 79 | autoloads: loaddefs.el doit | 79 | autoloads: 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 | ||
| 84 | subdirs.el: | 84 | subdirs.el: |
| 85 | $(MAKE) $(MFLAGS) update-subdirs | 85 | $(MAKE) $(MFLAGS) update-subdirs |
| @@ -130,7 +130,7 @@ compile-files: subdirs.el doit | |||
| 130 | 130 | ||
| 131 | backup-compiled-files: | 131 | backup-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 | ||
| 158 | bootstrap: compile-files autoloads custom-deps | 158 | bootstrap: autoloads compile-files custom-deps |
| 159 | 159 | ||
| 160 | # Makefile ends here. | 160 | # Makefile ends here. |