aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-05-31 02:24:12 +0000
committerGlenn Morris2008-05-31 02:24:12 +0000
commit10498e1c2c5ade6553dfe5b19c0f79f18a613eac (patch)
tree7c48dd3040874181c6b96f50ff8c5bbe3306580d
parentd0827857e7a2e73907783ccb6e30849c2a056374 (diff)
downloademacs-10498e1c2c5ade6553dfe5b19c0f79f18a613eac.tar.gz
emacs-10498e1c2c5ade6553dfe5b19c0f79f18a613eac.zip
(compile-last): Replace tr in `els' assignment with sed. Remove shell
variable `elc'. Split tests to hopefully be more portable. Fix `sel' assignment.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/Makefile.in20
2 files changed, 15 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dad37a47ea4..6c2047a70bd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12008-05-31 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
4 Remove shell variable `elc'. Split tests to hopefully be more portable.
5 Fix `sel' assignment.
6
12008-05-30 Juanma Barranquero <lekktu@gmail.com> 72008-05-30 Juanma Barranquero <lekktu@gmail.com>
2 8
3 * minibuffer.el (completion-table-dynamic): Doc fix. 9 * minibuffer.el (completion-table-dynamic): Doc fix.
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index c8d7395c9de..3d342d1636e 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -89,7 +89,7 @@ setwins=subdirs=`(cd $$wd; find . -type d -print)`; \
89 esac; \ 89 esac; \
90 done 90 done
91 91
92# Find all subdirectories except `obsolete'. 92# Find all subdirectories except `obsolete' and `term'.
93 93
94setwins_almost=subdirs=`(cd $$wd; find . -type d -print)`; \ 94setwins_almost=subdirs=`(cd $$wd; find . -type d -print)`; \
95 for file in $$subdirs; do \ 95 for file in $$subdirs; do \
@@ -1271,17 +1271,15 @@ compile-always: doit
1271## In case any files are missing from ELCFILES. 1271## In case any files are missing from ELCFILES.
1272compile-last: 1272compile-last:
1273 @wd=$(lisp); $(setwins); \ 1273 @wd=$(lisp); $(setwins); \
1274 els=`echo $$wins | tr ' \011' '\012\012' | \ 1274 els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
1275 sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \
1276 for el in $(COMPILE_FIRST) $$els; do \ 1275 for el in $(COMPILE_FIRST) $$els; do \
1277 elc=$${el}c; \ 1276 test -f $$el || continue; \
1278 if test -f $$el && ! test -f $$elc && \ 1277 test -f $${el}c && continue; \
1279 ! grep 'no-byte-compile: t' $$el > /dev/null; then \ 1278 grep 'no-byte-compile: t' $$el > /dev/null && continue; \
1280 sel=`echo $el | sed "s|^$$lisp|\$$(lisp)|"`; \ 1279 sel=`echo $$el | sed "s|^$(lisp)|\\$$(lisp)|"`; \
1281 echo "Maintainer warning: $$sel missing from \$$ELCFILES?"; \ 1280 echo "Maintainer warning: $$sel missing from \$$ELCFILES?"; \
1282 echo "Compiling $$el"; \ 1281 echo "Compiling $$el"; \
1283 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \ 1282 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
1284 fi \
1285 done 1283 done
1286 1284
1287compile-calc: 1285compile-calc: