From 7f25090dcdeb737eed7abcf2460c4cd3ba59ee7d Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 2 Nov 2000 18:49:04 +0000 Subject: [PATCH] * Makefile.in (emacs): Set EMACSLOADPATH always. (update-authors, .el.elc, compile-files): Don't do it explicitly here. --- lisp/ChangeLog | 6 ++++++ lisp/Makefile.in | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0abf9ac8621..f7edfceabb7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2000-11-02 Ken Raeburn + + * Makefile.in (emacs): Set EMACSLOADPATH always. + (update-authors, .el.elc, compile-files): Don't do it explicitly + here. + 2000-11-02 Dave Love * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup. diff --git a/lisp/Makefile.in b/lisp/Makefile.in index a42a8d77f0e..22ab5f74e3b 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -69,7 +69,7 @@ COMPILE_FIRST = \ # The actual Emacs command run in the targets below. -emacs = $(EMACS) $(EMACSOPT) +emacs = EMACSLOADPATH=$(lisp) $(EMACS) $(EMACSOPT) # Common command to find subdirectories @@ -124,7 +124,7 @@ updates: update-subdirs autoloads finder-data custom-deps # Update the AUTHORS file. update-authors: - EMACSLOADPATH=$(lisp) $(emacs) -f batch-update-authors $(srcdir)/AUTHORS $(srcdir) + $(emacs) -f batch-update-authors $(srcdir)/AUTHORS $(srcdir) TAGS: $(lisptagsfiles1) $(lisptagsfiles2) ${ETAGS} $(lisptagsfiles1) $(lisptagsfiles2) @@ -133,7 +133,7 @@ TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) ${ETAGS} -o TAGS-LISP $(lisptagsfiles1) $(lisptagsfiles2) .el.elc: subdirs.el - -EMACSLOADPATH=$(lisp) $(emacs) -f batch-byte-compile $< + -$(emacs) -f batch-byte-compile $< $(DONTCOMPILE:.el=.elc): -rm -f $@ @@ -156,7 +156,7 @@ compile-files: subdirs.el doit tr ' ' '\012\012' | sort | uniq -u`; \ for el in $(COMPILE_FIRST) $$els; do \ echo Compiling $$el; \ - EMACSLOADPATH=$(lisp) $(emacs) -f batch-byte-compile $$el; \ + $(emacs) -f batch-byte-compile $$el || exit 1; \ done # Backup compiled Lisp files in elc.tar.gz. If that file already