Mercurial > emacs
comparison lisp/Makefile.in @ 105657:82e88f8838d4
(compile-last): Ensure GREP_OPTIONS is null before calling
grep, so that binary files (eg international/uni-bidi.el) can match.
Remove test for "UnicodeData" files, since it is hopefully unnecesary
now, and in any case the file header format has changed.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 18 Oct 2009 00:34:47 +0000 |
parents | 3084c40960c1 |
children | 95beb2b6cd0e |
comparison
equal
deleted
inserted
replaced
105656:20193e169a43 | 105657:82e88f8838d4 |
---|---|
1503 compile-always: doit | 1503 compile-always: doit |
1504 cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc | 1504 cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc |
1505 $(MAKE) $(MFLAGS) compile EMACS=$(EMACS) | 1505 $(MAKE) $(MFLAGS) compile EMACS=$(EMACS) |
1506 | 1506 |
1507 ## In case any files are missing from ELCFILES. | 1507 ## In case any files are missing from ELCFILES. |
1508 ## Why is the UnicodeData check needed, when these files are no-byte-compile? | |
1509 compile-last: | 1508 compile-last: |
1510 @wd=$(lisp); $(setwins); \ | 1509 @wd=$(lisp); $(setwins); \ |
1511 els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ | 1510 els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ |
1512 for el in $$els; do \ | 1511 for el in $$els; do \ |
1513 test -f $$el || continue; \ | 1512 test -f $$el || continue; \ |
1514 test -f $${el}c && continue; \ | 1513 test -f $${el}c && continue; \ |
1515 grep 'no-byte-compile: t' $$el > /dev/null && continue; \ | 1514 GREP_OPTIONS= grep 'no-byte-compile: t' $$el > /dev/null && continue; \ |
1516 head -n 1 $$el | grep '^;; Automatically generated from UnicodeData.txt.' > /dev/null && continue; \ | |
1517 sel=`echo $$el | sed "s|^$(lisp)|\\$$(lisp)|"`; \ | 1515 sel=`echo $$el | sed "s|^$(lisp)|\\$$(lisp)|"`; \ |
1518 echo "Maintainer warning: $$sel missing from \$$ELCFILES?"; \ | 1516 echo "Maintainer warning: $$sel missing from \$$ELCFILES?"; \ |
1519 echo "Compiling $$el"; \ | 1517 echo "Compiling $$el"; \ |
1520 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \ | 1518 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \ |
1521 done | 1519 done |