diff options
| author | Glenn Morris | 2013-11-02 12:50:41 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-11-02 12:50:41 -0700 |
| commit | 2ffcf5fef905da954dd191725d0359998754e108 (patch) | |
| tree | 4560e3a5fbe8802ed14c7bf86d832f6067e24d05 | |
| parent | 6a8b929e7fcf2e0866c3e4b891d5412322aec95c (diff) | |
| download | emacs-2ffcf5fef905da954dd191725d0359998754e108.tar.gz emacs-2ffcf5fef905da954dd191725d0359998754e108.zip | |
Minor simplifications for test/automated/Makefile
* test/automated/Makefile.in (top_builddir, abs_test, abs_lispsrc, lisp):
Remove variables.
(emacs): Use abs_top_srcdir, abs_srcdir rather than abs_lispsrc, abs_test.
(lisp-compile): Use ../../lisp rather than $lisp.
| -rw-r--r-- | test/ChangeLog | 8 | ||||
| -rw-r--r-- | test/automated/Makefile.in | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 726cacc13b0..8d91e334b78 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2013-11-02 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * automated/Makefile.in (top_builddir, abs_test, abs_lispsrc, lisp): | ||
| 4 | Remove variables. | ||
| 5 | (emacs): Use abs_top_srcdir, abs_srcdir rather than abs_lispsrc, | ||
| 6 | abs_test. | ||
| 7 | (lisp-compile): Use ../../lisp rather than $lisp. | ||
| 8 | |||
| 1 | 2013-10-31 Michael Albinus <michael.albinus@gmx.de> | 9 | 2013-10-31 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 10 | ||
| 3 | * automated/ert-tests.el (ert-test-stats-set-test-and-result): | 11 | * automated/ert-tests.el (ert-test-stats-set-test-and-result): |
diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in index 17e37556a3e..2fed6a188ce 100644 --- a/test/automated/Makefile.in +++ b/test/automated/Makefile.in | |||
| @@ -21,13 +21,9 @@ SHELL = @SHELL@ | |||
| 21 | 21 | ||
| 22 | srcdir = @srcdir@ | 22 | srcdir = @srcdir@ |
| 23 | abs_top_srcdir = @abs_top_srcdir@ | 23 | abs_top_srcdir = @abs_top_srcdir@ |
| 24 | top_builddir = @top_builddir@ | ||
| 25 | abs_top_builddir = @abs_top_builddir@ | 24 | abs_top_builddir = @abs_top_builddir@ |
| 26 | test = $(srcdir) | 25 | test = $(srcdir) |
| 27 | abs_test = $(abs_srcdir) | ||
| 28 | VPATH = $(srcdir) | 26 | VPATH = $(srcdir) |
| 29 | abs_lispsrc = $(abs_top_srcdir)/lisp | ||
| 30 | lisp = $(top_builddir)/lisp | ||
| 31 | 27 | ||
| 32 | # You can specify a different executable on the make command line, | 28 | # You can specify a different executable on the make command line, |
| 33 | # e.g. "make EMACS=../src/emacs ...". | 29 | # e.g. "make EMACS=../src/emacs ...". |
| @@ -48,7 +44,7 @@ BYTE_COMPILE_EXTRA_FLAGS = | |||
| 48 | # The example above is just for developers, it should not be used by default. | 44 | # The example above is just for developers, it should not be used by default. |
| 49 | 45 | ||
| 50 | # The actual Emacs command run in the targets below. | 46 | # The actual Emacs command run in the targets below. |
| 51 | emacs = EMACSLOADPATH="$(abs_lispsrc):$(abs_test)" LC_ALL=C "$(EMACS)" $(EMACSOPT) | 47 | emacs = EMACSLOADPATH="$(abs_top_srcdir)/lisp:$(abs_srcdir)" LC_ALL=C "$(EMACS)" $(EMACSOPT) |
| 52 | 48 | ||
| 53 | # Common command to find subdirectories | 49 | # Common command to find subdirectories |
| 54 | setwins=subdirs=`find . -type d -print`; \ | 50 | setwins=subdirs=`find . -type d -print`; \ |
| @@ -81,7 +77,7 @@ doit: | |||
| 81 | .PHONY: lisp-compile compile-main compile compile-always | 77 | .PHONY: lisp-compile compile-main compile compile-always |
| 82 | 78 | ||
| 83 | lisp-compile: | 79 | lisp-compile: |
| 84 | cd "$(lisp)"; $(MAKE) $(MFLAGS) compile EMACS="$(EMACS)" | 80 | cd ../../lisp && $(MAKE) $(MFLAGS) compile EMACS="$(EMACS)" |
| 85 | 81 | ||
| 86 | # In `compile-main' we could directly do | 82 | # In `compile-main' we could directly do |
| 87 | # ... | xargs $(MAKE) $(MFLAGS) EMACS="$(EMACS)" | 83 | # ... | xargs $(MAKE) $(MFLAGS) EMACS="$(EMACS)" |