diff options
| author | Jan Djärv | 2010-03-22 08:50:40 +0100 |
|---|---|---|
| committer | Jan Djärv | 2010-03-22 08:50:40 +0100 |
| commit | 835e2c65be490714924f9219d3dae461e4237b86 (patch) | |
| tree | 6344ff97f67d1877afc606257b7ca526ad50b0a4 | |
| parent | 111a9dff676dd7aa9d6cb9b334c9243d7d7396f3 (diff) | |
| download | emacs-835e2c65be490714924f9219d3dae461e4237b86.tar.gz emacs-835e2c65be490714924f9219d3dae461e4237b86.zip | |
Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
don't do make there. When compiling with separate object dir, there
is no Makefile there.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/Makefile.in | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1c2305b61b4..2a059b8167b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-03-22 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we | ||
| 4 | don't do make there. When compiling with separate object dir, there | ||
| 5 | is no Makefile there. | ||
| 6 | |||
| 1 | 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | Get rid of the ELCFILES abomination, again. | 9 | Get rid of the ELCFILES abomination, again. |
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index cc91894c01c..f1219a807c7 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -236,13 +236,13 @@ compile-targets: $(TARGETS) | |||
| 236 | # Compile all the Elisp files that need it. Beware: it approximates | 236 | # Compile all the Elisp files that need it. Beware: it approximates |
| 237 | # `no-byte-compile', so watch out for false-positives! | 237 | # `no-byte-compile', so watch out for false-positives! |
| 238 | compile-main: | 238 | compile-main: |
| 239 | @cd $(lisp); $(setwins); \ | 239 | @(cd $(lisp); $(setwins); \ |
| 240 | els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ | 240 | els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ |
| 241 | for el in $$els; do \ | 241 | for el in $$els; do \ |
| 242 | test -f $$el || continue; \ | 242 | test -f $$el || continue; \ |
| 243 | test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \ | 243 | test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \ |
| 244 | echo "$${el}c"; \ | 244 | echo "$${el}c"; \ |
| 245 | done | xargs echo | \ | 245 | done | xargs echo) | \ |
| 246 | while read chunk; do \ | 246 | while read chunk; do \ |
| 247 | $(MAKE) $(MFLAGS) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \ | 247 | $(MAKE) $(MFLAGS) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \ |
| 248 | done | 248 | done |