aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2018-12-10 10:06:34 -0500
committerStefan Monnier2018-12-10 10:06:34 -0500
commit063d8c02c2bd3010156a9da040ec6bb0ad4be5ac (patch)
treede99178258924571aa188ab1999489bdb6ff386c
parent48d7720993283a3387807fa5582bb10b1636bba5 (diff)
downloademacs-063d8c02c2bd3010156a9da040ec6bb0ad4be5ac.tar.gz
emacs-063d8c02c2bd3010156a9da040ec6bb0ad4be5ac.zip
* lisp/Makefile.in (compile-main): Use a more selective regexp.
-rw-r--r--lisp/Makefile.in16
1 files changed, 9 insertions, 7 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index c4475982981..32f2c1d28a0 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -321,14 +321,16 @@ compile-targets: $(TARGETS)
321# Compile all the Elisp files that need it. Beware: it approximates 321# Compile all the Elisp files that need it. Beware: it approximates
322# 'no-byte-compile', so watch out for false-positives! 322# 'no-byte-compile', so watch out for false-positives!
323compile-main: gen-lisp compile-clean 323compile-main: gen-lisp compile-clean
324 @(cd $(lisp) && \ 324 @(cd $(lisp) && \
325 els=`echo "${SUBDIRS_REL} " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ 325 els=`echo "${SUBDIRS_REL} " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
326 for el in ${MAIN_FIRST} $$els; do \ 326 for el in ${MAIN_FIRST} $$els; do \
327 test -f $$el || continue; \ 327 test -f $$el || continue; \
328 test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \ 328 test ! -f $${el}c && \
329 echo "$${el}c"; \ 329 GREP_OPTIONS= grep '^;.*[^a-zA-Z]no-byte-compile: *t' $$el > /dev/null && \
330 done | xargs $(XARGS_LIMIT) echo) | \ 330 continue; \
331 while read chunk; do \ 331 echo "$${el}c"; \
332 done | xargs $(XARGS_LIMIT) echo) | \
333 while read chunk; do \
332 $(MAKE) compile-targets TARGETS="$$chunk"; \ 334 $(MAKE) compile-targets TARGETS="$$chunk"; \
333 done 335 done
334 336