]> code.delx.au - gnu-emacs/commitdiff
* Makefile.in (emacs): Set EMACSLOADPATH always.
authorKen Raeburn <raeburn@raeburn.org>
Thu, 2 Nov 2000 18:49:04 +0000 (18:49 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Thu, 2 Nov 2000 18:49:04 +0000 (18:49 +0000)
(update-authors, .el.elc, compile-files): Don't do it explicitly here.

lisp/ChangeLog
lisp/Makefile.in

index 0abf9ac86212e68aabf761730cc8e8371a27c64a..f7edfceabb71b56cb25c18b78fe5147cccafc897 100644 (file)
@@ -1,3 +1,9 @@
+2000-11-02  Ken Raeburn  <raeburn@gnu.org>
+
+       * Makefile.in (emacs): Set EMACSLOADPATH always.
+       (update-authors, .el.elc, compile-files): Don't do it explicitly
+       here.
+
 2000-11-02  Dave Love  <fx@gnu.org>
 
        * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
index a42a8d77f0ee0b8b434fba59835a5da226285303..22ab5f74e3bdcb3a0286aa7f537e73416d74e3da 100644 (file)
@@ -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