diff options
| author | Stefan Monnier | 2018-12-10 10:06:34 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2018-12-10 10:06:34 -0500 |
| commit | 063d8c02c2bd3010156a9da040ec6bb0ad4be5ac (patch) | |
| tree | de99178258924571aa188ab1999489bdb6ff386c | |
| parent | 48d7720993283a3387807fa5582bb10b1636bba5 (diff) | |
| download | emacs-063d8c02c2bd3010156a9da040ec6bb0ad4be5ac.tar.gz emacs-063d8c02c2bd3010156a9da040ec6bb0ad4be5ac.zip | |
* lisp/Makefile.in (compile-main): Use a more selective regexp.
| -rw-r--r-- | lisp/Makefile.in | 16 |
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! |
| 323 | compile-main: gen-lisp compile-clean | 323 | compile-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 | ||