mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
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.
This commit is contained in:
parent
111a9dff67
commit
835e2c65be
2 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* 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.
|
||||
|
||||
2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
Get rid of the ELCFILES abomination, again.
|
||||
|
|
|
|||
|
|
@ -236,13 +236,13 @@ compile-targets: $(TARGETS)
|
|||
# Compile all the Elisp files that need it. Beware: it approximates
|
||||
# `no-byte-compile', so watch out for false-positives!
|
||||
compile-main:
|
||||
@cd $(lisp); $(setwins); \
|
||||
@(cd $(lisp); $(setwins); \
|
||||
els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
|
||||
for el in $$els; do \
|
||||
test -f $$el || continue; \
|
||||
test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \
|
||||
echo "$${el}c"; \
|
||||
done | xargs echo | \
|
||||
done | xargs echo) | \
|
||||
while read chunk; do \
|
||||
$(MAKE) $(MFLAGS) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue