GNU bug report logs - #5191
replace ELCFILES in lisp/Makefile.in

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Chong Yidong <cyd <at> stupidchicken.com>, 5191 <at> debbugs.gnu.org
Cc: Harald Maier <Harald <at> Maierh.de>
Subject: bug#5191: 23.1.90;	Make target compile-main fails under GNU/Linux Kernel 2.6.16
Date: Sat, 12 Dec 2009 22:40:54 +0100

Chong Yidong skrev 2009-12-12 21.24:
> 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.)

Note that in src/Makefile we only use it if we know we are using GNU Make.
Configure tests for GNU Make.

	Jan D.

>
> *** 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.