(bootstrap-prepare): Explictly pass EMACS to sub-makes

that use it, for non-GNU makes (sync from trunk 2008-06-08).
This commit is contained in:
Glenn Morris 2008-08-10 20:08:50 +00:00
parent 51bfa3d9bc
commit 9e7efbfa81

View 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