emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 063d8c0: * lisp/Makefile.in (compile-main): Use a m


From: Stefan Monnier
Subject: [Emacs-diffs] master 063d8c0: * lisp/Makefile.in (compile-main): Use a more selective regexp.
Date: Mon, 10 Dec 2018 10:06:43 -0500 (EST)

branch: master
commit 063d8c02c2bd3010156a9da040ec6bb0ad4be5ac
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/Makefile.in (compile-main): Use a more selective regexp.
---
 lisp/Makefile.in | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index c447598..32f2c1d 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -321,14 +321,16 @@ 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: gen-lisp compile-clean
-       @(cd $(lisp) && \
+       @(cd $(lisp) &&                              \
        els=`echo "${SUBDIRS_REL} " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 
's| |/*.el |g'`; \
-       for el in ${MAIN_FIRST} $$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 $(XARGS_LIMIT) echo) | \
-       while read chunk; do \
+       for el in ${MAIN_FIRST} $$els; do            \
+         test -f $$el || continue;                  \
+         test ! -f $${el}c &&                       \
+             GREP_OPTIONS= grep '^;.*[^a-zA-Z]no-byte-compile: *t' $$el > 
/dev/null && \
+             continue;                              \
+         echo "$${el}c";                            \
+       done | xargs $(XARGS_LIMIT) echo) |          \
+       while read chunk; do                         \
          $(MAKE) compile-targets TARGETS="$$chunk"; \
        done
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]