GNU bug report logs -
#5191
replace ELCFILES in lisp/Makefile.in
Previous Next
Reported by: Harald Maier <Harald <at> Maierh.de>
Date: Sat, 12 Dec 2009 10:35:03 UTC
Severity: wishlist
Fixed in version 24.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 5191 <at> emacsbugs.donarmstrong.com (full text, mbox):
Does this patch fix it? Instead of passing ELCFILES on the command
line, it saves it to a .elcfiles file, and the recursive Make includes
that. (I am assuming the "-include" directive is supported, but we seem
to use it in src/Makefile already anyhow.)
*** emacs/lisp/Makefile.in.~1.215.~ 2009-12-09 09:21:04.000000000 -0500
--- emacs/lisp/Makefile.in 2009-12-12 15:13:02.000000000 -0500
***************
*** 211,216 ****
--- 211,218 ----
compile-first: $(COMPILE_FIRST)
+ -include $(lisp)/.elcfiles
+
# ELCFILES is set dynamically in the recursive call from `compile-main'.
compile-elcfiles: $(ELCFILES)
***************
*** 219,230 ****
compile-main:
@wd=$(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; \
! files="$$files $${el}c"; \
done; \
! $(MAKE) $(MFLAGS) compile-elcfiles EMACS=$(EMACS) ELCFILES="$$files"
# Erase left-over .elc files that do not have a corresponding .el file.
compile-clean:
--- 221,233 ----
compile-main:
@wd=$(lisp); $(setwins); \
els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
+ echo -n "ELCFILES=" > $(lisp)/.elcfiles; \
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 -n "$${el}c " >> $(lisp)/.elcfiles; \
done; \
! $(MAKE) $(MFLAGS) compile-elcfiles EMACS=$(EMACS)
# Erase left-over .elc files that do not have a corresponding .el file.
compile-clean:
This bug report was last modified 14 years and 135 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.