aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-11-02 12:50:41 -0700
committerGlenn Morris2013-11-02 12:50:41 -0700
commit2ffcf5fef905da954dd191725d0359998754e108 (patch)
tree4560e3a5fbe8802ed14c7bf86d832f6067e24d05
parent6a8b929e7fcf2e0866c3e4b891d5412322aec95c (diff)
downloademacs-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/ChangeLog8
-rw-r--r--test/automated/Makefile.in8
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 @@
12013-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
12013-10-31 Michael Albinus <michael.albinus@gmx.de> 92013-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
22srcdir = @srcdir@ 22srcdir = @srcdir@
23abs_top_srcdir = @abs_top_srcdir@ 23abs_top_srcdir = @abs_top_srcdir@
24top_builddir = @top_builddir@
25abs_top_builddir = @abs_top_builddir@ 24abs_top_builddir = @abs_top_builddir@
26test = $(srcdir) 25test = $(srcdir)
27abs_test = $(abs_srcdir)
28VPATH = $(srcdir) 26VPATH = $(srcdir)
29abs_lispsrc = $(abs_top_srcdir)/lisp
30lisp = $(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.
51emacs = EMACSLOADPATH="$(abs_lispsrc):$(abs_test)" LC_ALL=C "$(EMACS)" $(EMACSOPT) 47emacs = 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
54setwins=subdirs=`find . -type d -print`; \ 50setwins=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
83lisp-compile: 79lisp-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)"