changeset 29547:57aeae00b4df

(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.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 11 Jun 2000 03:54:29 +0000
parents fbe764633971
children 71b284c55162
files lisp/Makefile
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/Makefile	Sat Jun 10 08:04:33 2000 +0000
+++ b/lisp/Makefile	Sun Jun 11 03:54:29 2000 +0000
@@ -10,7 +10,7 @@
 # Command line flags for Emacs.  This must include --multibyte,
 # otherwise some files will not compile.
 
-EMACSOPT = --no-init-file --no-site-file --multibyte -batch
+EMACSOPT = -batch --no-site-file --multibyte
 
 SOURCES = *.el COPYING Makefile
 lisptagsfiles1 = [a-zA-Z]*.el
@@ -79,7 +79,7 @@
 autoloads: loaddefs.el doit
 	wd=.; $(setwins); \
 	echo Directories: $$wins; \
-	$(emacs) --eval '(setq generated-autoload-file "'`pwd`'/loaddefs.el")' -f batch-update-autoloads $$wins
+	$(emacs) -l autoload --eval '(setq generated-autoload-file "'`pwd`'/loaddefs.el")' -f batch-update-autoloads $$wins
 
 subdirs.el:
 	$(MAKE) $(MFLAGS) update-subdirs
@@ -130,7 +130,7 @@
 
 backup-compiled-files:
 	-mv elc.tar.gz elc.tar.gz~
-	tar czf elc.tar.gz *.elc */*.elc
+	-tar czf elc.tar.gz *.elc */*.elc
 
 # Compile Lisp files, but save old compiled files first.
 
@@ -155,6 +155,6 @@
 
 # Generate/update files for the bootstrap process.
 
-bootstrap: compile-files autoloads custom-deps
+bootstrap: autoloads compile-files custom-deps
 
 # Makefile ends here.