Commit 009111d6 authored by Glenn Morris's avatar Glenn Morris
Browse files

* test/automated/Makefile.in (XARGS_LIMIT): New, set by configure.

(compile-main): Pass XARGS_LIMIT to xargs.

(Cargo-culted from lisp/Makefile.in.)
parent 2df10228
2013-11-21 Glenn Morris <rgm@gnu.org>
* automated/Makefile.in (XARGS_LIMIT): New, set by configure.
(compile-main): Pass XARGS_LIMIT to xargs.
* automated/Makefile.in (PATH_SEPARATOR): New, set by configure.
(EMACSOPT): Use PATH_SEPARATOR.
......
......@@ -24,6 +24,10 @@ VPATH = $(srcdir)
PATH_SEPARATOR = @PATH_SEPARATOR@
# Empty for all systems except MinGW, where xargs needs an explicit
# limitation.
XARGS_LIMIT = @XARGS_LIMIT@
# We never change directory before running Emacs, so a relative file
# name is fine, and makes life easier. If we need to change
# directory, we can use emacs --chdir.
......@@ -76,7 +80,7 @@ compile-main: compile-clean
test -f $$el || continue; \
test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \
echo "$${el}c"; \
done | xargs echo | \
done | xargs $(XARGS_LIMIT) echo | \
while read chunk; do \
$(MAKE) $(MFLAGS) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment