diff options
| author | Glenn Morris | 2013-11-02 12:56:54 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-11-02 12:56:54 -0700 |
| commit | 1f43ed41773a6bcdc7fc9437d73b801a2c62396e (patch) | |
| tree | 94d2ecec01d88509b1f360ab5cc95e13e591182d | |
| parent | 2ffcf5fef905da954dd191725d0359998754e108 (diff) | |
| download | emacs-1f43ed41773a6bcdc7fc9437d73b801a2c62396e.tar.gz emacs-1f43ed41773a6bcdc7fc9437d73b801a2c62396e.zip | |
* automated/Makefile.in (test): Remove variable.
(compile-main, compile-clean, compile-always, bootstrap-clean)
(check): Use srcdir rather than $test. Check cd return value.
(compile-always): Depend on bootstrap-clean.
| -rw-r--r-- | test/ChangeLog | 7 | ||||
| -rw-r--r-- | test/automated/Makefile.in | 14 |
2 files changed, 11 insertions, 10 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 8d91e334b78..080cbb8eea7 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,10 +1,13 @@ | |||
| 1 | 2013-11-02 Glenn Morris <rgm@gnu.org> | 1 | 2013-11-02 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * automated/Makefile.in (top_builddir, abs_test, abs_lispsrc, lisp): | 3 | * automated/Makefile.in (top_builddir, abs_test, abs_lispsrc, lisp) |
| 4 | Remove variables. | 4 | (test): Remove variables. |
| 5 | (emacs): Use abs_top_srcdir, abs_srcdir rather than abs_lispsrc, | 5 | (emacs): Use abs_top_srcdir, abs_srcdir rather than abs_lispsrc, |
| 6 | abs_test. | 6 | abs_test. |
| 7 | (lisp-compile): Use ../../lisp rather than $lisp. | 7 | (lisp-compile): Use ../../lisp rather than $lisp. |
| 8 | (compile-main, compile-clean, compile-always, bootstrap-clean) | ||
| 9 | (check): Use srcdir rather than $test. Check cd return value. | ||
| 10 | (compile-always): Depend on bootstrap-clean. | ||
| 8 | 11 | ||
| 9 | 2013-10-31 Michael Albinus <michael.albinus@gmx.de> | 12 | 2013-10-31 Michael Albinus <michael.albinus@gmx.de> |
| 10 | 13 | ||
diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in index 2fed6a188ce..056f024fdbf 100644 --- a/test/automated/Makefile.in +++ b/test/automated/Makefile.in | |||
| @@ -22,7 +22,6 @@ SHELL = @SHELL@ | |||
| 22 | srcdir = @srcdir@ | 22 | srcdir = @srcdir@ |
| 23 | abs_top_srcdir = @abs_top_srcdir@ | 23 | abs_top_srcdir = @abs_top_srcdir@ |
| 24 | abs_top_builddir = @abs_top_builddir@ | 24 | abs_top_builddir = @abs_top_builddir@ |
| 25 | test = $(srcdir) | ||
| 26 | VPATH = $(srcdir) | 25 | VPATH = $(srcdir) |
| 27 | 26 | ||
| 28 | # You can specify a different executable on the make command line, | 27 | # You can specify a different executable on the make command line, |
| @@ -96,7 +95,7 @@ compile-targets: $(TARGETS) | |||
| 96 | # Compile all the Elisp files that need it. Beware: it approximates | 95 | # Compile all the Elisp files that need it. Beware: it approximates |
| 97 | # `no-byte-compile', so watch out for false-positives! | 96 | # `no-byte-compile', so watch out for false-positives! |
| 98 | compile-main: compile-clean lisp-compile | 97 | compile-main: compile-clean lisp-compile |
| 99 | @(cd $(test); $(setwins); \ | 98 | @(cd $(srcdir) && $(setwins); \ |
| 100 | els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ | 99 | els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ |
| 101 | for el in $$els; do \ | 100 | for el in $$els; do \ |
| 102 | test -f $$el || continue; \ | 101 | test -f $$el || continue; \ |
| @@ -110,7 +109,7 @@ compile-main: compile-clean lisp-compile | |||
| 110 | .PHONY: compile-clean | 109 | .PHONY: compile-clean |
| 111 | # Erase left-over .elc files that do not have a corresponding .el file. | 110 | # Erase left-over .elc files that do not have a corresponding .el file. |
| 112 | compile-clean: | 111 | compile-clean: |
| 113 | @cd $(test); $(setwins); \ | 112 | @cd $(srcdir) && $(setwins); \ |
| 114 | elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \ | 113 | elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \ |
| 115 | for el in $$(echo $$elcs | sed -e 's/\.elc/\.el/g'); do \ | 114 | for el in $$(echo $$elcs | sed -e 's/\.elc/\.el/g'); do \ |
| 116 | if test -f "$$el" -o \! -f "$${el}c"; then :; else \ | 115 | if test -f "$$el" -o \! -f "$${el}c"; then :; else \ |
| @@ -131,20 +130,19 @@ compile: $(LOADDEFS) autoloads compile-first | |||
| 131 | # Compile all Lisp files. This is like `compile' but compiles files | 130 | # Compile all Lisp files. This is like `compile' but compiles files |
| 132 | # unconditionally. Some files don't actually get compiled because they | 131 | # unconditionally. Some files don't actually get compiled because they |
| 133 | # set the local variable no-byte-compile. | 132 | # set the local variable no-byte-compile. |
| 134 | compile-always: doit | 133 | compile-always: bootstrap-clean |
| 135 | cd $(test); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc | ||
| 136 | $(MAKE) $(MFLAGS) compile EMACS="$(EMACS)" | 134 | $(MAKE) $(MFLAGS) compile EMACS="$(EMACS)" |
| 137 | 135 | ||
| 138 | bootstrap-clean: | 136 | bootstrap-clean: |
| 139 | cd $(test); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc | 137 | -cd $(srcdir) && rm -f *.elc */*.elc */*/*.elc */*/*/*.elc |
| 140 | 138 | ||
| 141 | distclean: | 139 | distclean: |
| 142 | -rm -f ./Makefile | 140 | rm -f Makefile |
| 143 | 141 | ||
| 144 | maintainer-clean: distclean bootstrap-clean | 142 | maintainer-clean: distclean bootstrap-clean |
| 145 | 143 | ||
| 146 | check: compile-main | 144 | check: compile-main |
| 147 | @(cd $(test); $(setwins); \ | 145 | @(cd $(srcdir) && $(setwins); \ |
| 148 | pattern=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ | 146 | pattern=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ |
| 149 | for el in $$pattern; do \ | 147 | for el in $$pattern; do \ |
| 150 | test -f $$el || continue; \ | 148 | test -f $$el || continue; \ |