aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2010-03-22 08:50:40 +0100
committerJan Djärv2010-03-22 08:50:40 +0100
commit835e2c65be490714924f9219d3dae461e4237b86 (patch)
tree6344ff97f67d1877afc606257b7ca526ad50b0a4
parent111a9dff676dd7aa9d6cb9b334c9243d7d7396f3 (diff)
downloademacs-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/ChangeLog6
-rw-r--r--lisp/Makefile.in4
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 @@
12010-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
12010-03-22 Stefan Monnier <monnier@iro.umontreal.ca> 72010-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!
238compile-main: 238compile-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