Commit 6ad1de49 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(compile, compile-always): Don't try to compile

non-existent files or files in empty directories.
parent 51a8ec55
2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
* Makefile.in (compile, compile-always): Don't try to compile
non-existent files or files in empty directories.
2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
* textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
......
......@@ -222,8 +222,11 @@ compile: subdirs.el doit
els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \
tr ' ' '\012\012' | sort | uniq -u`; \
for el in $(COMPILE_FIRST) $$els; do \
echo Compiling $$el; \
$(emacs) -f batch-byte-compile-if-not-done $$el || exit 1; \
if test -f $$el; \
then \
echo Compiling $$el; \
$(emacs) -f batch-byte-compile-if-not-done $$el || exit 1; \
fi \
done
# Compile all Lisp files, except those from DONTCOMPILE. This
......@@ -236,8 +239,11 @@ compile-always: subdirs.el doit
els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \
tr ' ' '\012\012' | sort | uniq -u`; \
for el in $(COMPILE_FIRST) $$els; do \
echo Compiling $$el; \
$(emacs) -f batch-byte-compile $$el || exit 1; \
if test -f $$el; \
then \
echo Compiling $$el; \
$(emacs) -f batch-byte-compile $$el || exit 1; \
fi \
done
compile-calc:
......
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