]> git.eshelyaron.com Git - emacs.git/commitdiff
(compile-last): Ensure GREP_OPTIONS is null before calling
authorGlenn Morris <rgm@gnu.org>
Sun, 18 Oct 2009 00:34:47 +0000 (00:34 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 18 Oct 2009 00:34:47 +0000 (00:34 +0000)
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.

lisp/ChangeLog
lisp/Makefile.in

index 5bb1fd985b493a80fdaac4d6c29b23b1a2f4c153..959b20b9273d107dc5a182e9ba44f0185d6a3b71 100644 (file)
@@ -1,3 +1,10 @@
+2009-10-18  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (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.
+
 2009-10-17  Glenn Morris  <rgm@gnu.org>
 
        * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
index 1d3f680b857306303df252221dd7d23e1c2ec93b..ebe02e21fbedfc20ba552154e7b6dcc0c7004597 100644 (file)
@@ -1505,15 +1505,13 @@ compile-always: doit
        $(MAKE) $(MFLAGS) compile EMACS=$(EMACS)
 
 ## In case any files are missing from ELCFILES.
-## Why is the UnicodeData check needed, when these files are no-byte-compile?
 compile-last:
        @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 && continue; \
-         grep 'no-byte-compile: t' $$el > /dev/null && continue; \
-         head -n 1 $$el | grep '^;; Automatically generated from UnicodeData.txt.' > /dev/null && continue; \
+         GREP_OPTIONS= grep 'no-byte-compile: t' $$el > /dev/null && continue; \
          sel=`echo $$el | sed "s|^$(lisp)|\\$$(lisp)|"`; \
          echo "Maintainer warning: $$sel missing from \$$ELCFILES?"; \
          echo "Compiling $$el"; \