diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/Makefile.in | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 215a0404967..53305d3ad21 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-06-08 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (compile, compile-always, bootstrap-prepare): | ||
| 4 | Explictly pass EMACS to sub-makes that use it, for non-GNU makes. | ||
| 5 | |||
| 1 | 2008-06-07 Jihyun Cho <jihyun.jo@gmail.com> | 6 | 2008-06-07 Jihyun Cho <jihyun.jo@gmail.com> |
| 2 | 7 | ||
| 3 | * language/hanja-util.el (hanja-init-load): Use a char-table for | 8 | * language/hanja-util.el (hanja-init-load): Use a char-table for |
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 9c2410fc96d..9de2741db81 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -1256,9 +1256,11 @@ compile-main: $(ELCFILES) | |||
| 1256 | # date. Some .el files don't get compiled because they set the | 1256 | # date. Some .el files don't get compiled because they set the |
| 1257 | # local variable no-byte-compile. | 1257 | # local variable no-byte-compile. |
| 1258 | # Calling make recursively because suffix rule cannot have prerequisites. | 1258 | # Calling make recursively because suffix rule cannot have prerequisites. |
| 1259 | # Explicitly pass EMACS (sometimes ../src/bootstrap-emacs) to those | ||
| 1260 | # sub-makes that run rules that use it, for the sake of some non-GNU makes. | ||
| 1259 | compile: $(emacs-deps) $(LOADDEFS) autoloads compile-first | 1261 | compile: $(emacs-deps) $(LOADDEFS) autoloads compile-first |
| 1260 | $(MAKE) $(MFLAGS) compile-main | 1262 | $(MAKE) $(MFLAGS) compile-main EMACS=$(EMACS) |
| 1261 | $(MAKE) $(MFLAGS) compile-last | 1263 | $(MAKE) $(MFLAGS) compile-last EMACS=$(EMACS) |
| 1262 | 1264 | ||
| 1263 | ## Doing this causes make install to dump another emacs. | 1265 | ## Doing this causes make install to dump another emacs. |
| 1264 | # $(MAKE) $(MFLAGS) update-elclist | 1266 | # $(MAKE) $(MFLAGS) update-elclist |
| @@ -1268,7 +1270,7 @@ compile: $(emacs-deps) $(LOADDEFS) autoloads compile-first | |||
| 1268 | # set the local variable no-byte-compile. | 1270 | # set the local variable no-byte-compile. |
| 1269 | compile-always: doit | 1271 | compile-always: doit |
| 1270 | cd $(lisp); rm -f *.elc */*.elc | 1272 | cd $(lisp); rm -f *.elc */*.elc |
| 1271 | $(MAKE) $(MFLAGS) compile | 1273 | $(MAKE) $(MFLAGS) compile EMACS=$(EMACS) |
| 1272 | 1274 | ||
| 1273 | ## In case any files are missing from ELCFILES. | 1275 | ## In case any files are missing from ELCFILES. |
| 1274 | compile-last: | 1276 | compile-last: |
| @@ -1395,7 +1397,7 @@ $(CAL_DIR)/hol-loaddefs.el: $(emacs-deps) $(CAL_SRC) | |||
| 1395 | 1397 | ||
| 1396 | bootstrap-prepare: | 1398 | bootstrap-prepare: |
| 1397 | if test -x $(EMACS); then \ | 1399 | if test -x $(EMACS); then \ |
| 1398 | $(MAKE) $(MFLAGS) autoloads; \ | 1400 | $(MAKE) $(MFLAGS) autoloads EMACS=$(EMACS); \ |
| 1399 | fi | 1401 | fi |
| 1400 | 1402 | ||
| 1401 | autogen-clean: | 1403 | autogen-clean: |