diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 10 | ||||
| -rw-r--r-- | test/automated/Makefile.in | 16 |
2 files changed, 19 insertions, 7 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 71104b64364..358ef31b1bb 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2013-10-23 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * automated/Makefile.in (abs_top_srcdir, top_builddir): | ||
| 4 | New, set by configure. | ||
| 5 | (top_srcdir): Remove. | ||
| 6 | (abs_test, abs_lispsrc): New. | ||
| 7 | (lisp): No longer absolute. | ||
| 8 | (emacs, lisp-compile, compile, compile-always): | ||
| 9 | Quote entities that might contain whitespace. | ||
| 10 | |||
| 1 | 2013-10-22 Dmitry Gutov <dgutov@yandex.ru> | 11 | 2013-10-22 Dmitry Gutov <dgutov@yandex.ru> |
| 2 | 12 | ||
| 3 | * indent/ruby.rb: Move two examples to "working" section, add one | 13 | * indent/ruby.rb: Move two examples to "working" section, add one |
diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in index bf8e62f77cd..17e37556a3e 100644 --- a/test/automated/Makefile.in +++ b/test/automated/Makefile.in | |||
| @@ -20,12 +20,14 @@ | |||
| 20 | SHELL = @SHELL@ | 20 | SHELL = @SHELL@ |
| 21 | 21 | ||
| 22 | srcdir = @srcdir@ | 22 | srcdir = @srcdir@ |
| 23 | top_srcdir = @top_srcdir@ | 23 | abs_top_srcdir = @abs_top_srcdir@ |
| 24 | top_builddir = @top_builddir@ | ||
| 24 | abs_top_builddir = @abs_top_builddir@ | 25 | abs_top_builddir = @abs_top_builddir@ |
| 25 | test = $(srcdir) | 26 | test = $(srcdir) |
| 27 | abs_test = $(abs_srcdir) | ||
| 26 | VPATH = $(srcdir) | 28 | VPATH = $(srcdir) |
| 27 | lispsrc = $(top_srcdir)/lisp | 29 | abs_lispsrc = $(abs_top_srcdir)/lisp |
| 28 | lisp = ${abs_top_builddir}/lisp | 30 | lisp = $(top_builddir)/lisp |
| 29 | 31 | ||
| 30 | # You can specify a different executable on the make command line, | 32 | # You can specify a different executable on the make command line, |
| 31 | # e.g. "make EMACS=../src/emacs ...". | 33 | # e.g. "make EMACS=../src/emacs ...". |
| @@ -46,7 +48,7 @@ BYTE_COMPILE_EXTRA_FLAGS = | |||
| 46 | # The example above is just for developers, it should not be used by default. | 48 | # The example above is just for developers, it should not be used by default. |
| 47 | 49 | ||
| 48 | # The actual Emacs command run in the targets below. | 50 | # The actual Emacs command run in the targets below. |
| 49 | emacs = EMACSLOADPATH=$(lispsrc):$(test) LC_ALL=C $(EMACS) $(EMACSOPT) | 51 | emacs = EMACSLOADPATH="$(abs_lispsrc):$(abs_test)" LC_ALL=C "$(EMACS)" $(EMACSOPT) |
| 50 | 52 | ||
| 51 | # Common command to find subdirectories | 53 | # Common command to find subdirectories |
| 52 | setwins=subdirs=`find . -type d -print`; \ | 54 | setwins=subdirs=`find . -type d -print`; \ |
| @@ -79,7 +81,7 @@ doit: | |||
| 79 | .PHONY: lisp-compile compile-main compile compile-always | 81 | .PHONY: lisp-compile compile-main compile compile-always |
| 80 | 82 | ||
| 81 | lisp-compile: | 83 | lisp-compile: |
| 82 | cd $(lisp); $(MAKE) $(MFLAGS) compile EMACS=$(EMACS) | 84 | cd "$(lisp)"; $(MAKE) $(MFLAGS) compile EMACS="$(EMACS)" |
| 83 | 85 | ||
| 84 | # In `compile-main' we could directly do | 86 | # In `compile-main' we could directly do |
| 85 | # ... | xargs $(MAKE) $(MFLAGS) EMACS="$(EMACS)" | 87 | # ... | xargs $(MAKE) $(MFLAGS) EMACS="$(EMACS)" |
| @@ -128,14 +130,14 @@ compile-clean: | |||
| 128 | # Explicitly pass EMACS (sometimes ../src/bootstrap-emacs) to those | 130 | # Explicitly pass EMACS (sometimes ../src/bootstrap-emacs) to those |
| 129 | # sub-makes that run rules that use it, for the sake of some non-GNU makes. | 131 | # sub-makes that run rules that use it, for the sake of some non-GNU makes. |
| 130 | compile: $(LOADDEFS) autoloads compile-first | 132 | compile: $(LOADDEFS) autoloads compile-first |
| 131 | $(MAKE) $(MFLAGS) compile-main EMACS=$(EMACS) | 133 | $(MAKE) $(MFLAGS) compile-main EMACS="$(EMACS)" |
| 132 | 134 | ||
| 133 | # Compile all Lisp files. This is like `compile' but compiles files | 135 | # Compile all Lisp files. This is like `compile' but compiles files |
| 134 | # unconditionally. Some files don't actually get compiled because they | 136 | # unconditionally. Some files don't actually get compiled because they |
| 135 | # set the local variable no-byte-compile. | 137 | # set the local variable no-byte-compile. |
| 136 | compile-always: doit | 138 | compile-always: doit |
| 137 | cd $(test); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc | 139 | cd $(test); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc |
| 138 | $(MAKE) $(MFLAGS) compile EMACS=$(EMACS) | 140 | $(MAKE) $(MFLAGS) compile EMACS="$(EMACS)" |
| 139 | 141 | ||
| 140 | bootstrap-clean: | 142 | bootstrap-clean: |
| 141 | cd $(test); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc | 143 | cd $(test); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc |