]> git.eshelyaron.com Git - emacs.git/commitdiff
(bootstrap-prepare): Explictly pass EMACS to sub-makes
authorGlenn Morris <rgm@gnu.org>
Sun, 10 Aug 2008 20:08:50 +0000 (20:08 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 10 Aug 2008 20:08:50 +0000 (20:08 +0000)
that use it, for non-GNU makes (sync from trunk 2008-06-08).

lisp/Makefile.in

index 950ec1aab6e3058ae41d2cf2e22087d81b5fc306..291af0574a447ed119906091c282f6faee2fa4d5 100644 (file)
@@ -282,7 +282,7 @@ $(lisp)/mh-e/mh-loaddefs.el: $(lisp)/subdirs.el $(MH_E_SRC)
 
 bootstrap-prepare:
        if test -x $(EMACS); then                               \
-         $(MAKE) $(MFLAGS) autoloads;                          \
+         $(MAKE) $(MFLAGS) autoloads EMACS=$(EMACS);           \
        else                                                    \
          cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el;         \
        fi