+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.
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
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: