diff options
| author | Eli Zaretskii | 2002-03-27 14:45:05 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-03-27 14:45:05 +0000 |
| commit | 6ad1de49cf1ef60e36556b5f4cf982bcf4c02c32 (patch) | |
| tree | a619e696540cdd9f223437cb4960c9e0be879b7d | |
| parent | 51a8ec55a9e46395446201bd5d6648ac2fa9a151 (diff) | |
| download | emacs-6ad1de49cf1ef60e36556b5f4cf982bcf4c02c32.tar.gz emacs-6ad1de49cf1ef60e36556b5f4cf982bcf4c02c32.zip | |
(compile, compile-always): Don't try to compile
non-existent files or files in empty directories.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/Makefile.in | 14 |
2 files changed, 15 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1b567083265..009dd8bf580 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * Makefile.in (compile, compile-always): Don't try to compile | ||
| 4 | non-existent files or files in empty directories. | ||
| 5 | |||
| 1 | 2002-03-26 Stefan Monnier <monnier@cs.yale.edu> | 6 | 2002-03-26 Stefan Monnier <monnier@cs.yale.edu> |
| 2 | 7 | ||
| 3 | * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move. | 8 | * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move. |
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 8e6e9dd4ca0..9fa62e4625e 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -222,8 +222,11 @@ compile: subdirs.el doit | |||
| 222 | els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \ | 222 | els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \ |
| 223 | tr ' ' '\012\012' | sort | uniq -u`; \ | 223 | tr ' ' '\012\012' | sort | uniq -u`; \ |
| 224 | for el in $(COMPILE_FIRST) $$els; do \ | 224 | for el in $(COMPILE_FIRST) $$els; do \ |
| 225 | echo Compiling $$el; \ | 225 | if test -f $$el; \ |
| 226 | $(emacs) -f batch-byte-compile-if-not-done $$el || exit 1; \ | 226 | then \ |
| 227 | echo Compiling $$el; \ | ||
| 228 | $(emacs) -f batch-byte-compile-if-not-done $$el || exit 1; \ | ||
| 229 | fi \ | ||
| 227 | done | 230 | done |
| 228 | 231 | ||
| 229 | # Compile all Lisp files, except those from DONTCOMPILE. This | 232 | # Compile all Lisp files, except those from DONTCOMPILE. This |
| @@ -236,8 +239,11 @@ compile-always: subdirs.el doit | |||
| 236 | els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \ | 239 | els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \ |
| 237 | tr ' ' '\012\012' | sort | uniq -u`; \ | 240 | tr ' ' '\012\012' | sort | uniq -u`; \ |
| 238 | for el in $(COMPILE_FIRST) $$els; do \ | 241 | for el in $(COMPILE_FIRST) $$els; do \ |
| 239 | echo Compiling $$el; \ | 242 | if test -f $$el; \ |
| 240 | $(emacs) -f batch-byte-compile $$el || exit 1; \ | 243 | then \ |
| 244 | echo Compiling $$el; \ | ||
| 245 | $(emacs) -f batch-byte-compile $$el || exit 1; \ | ||
| 246 | fi \ | ||
| 241 | done | 247 | done |
| 242 | 248 | ||
| 243 | compile-calc: | 249 | compile-calc: |