diff options
| author | Aaron S. Hawley | 2016-02-27 19:01:24 -0800 |
|---|---|---|
| committer | Glenn Morris | 2016-02-27 19:01:24 -0800 |
| commit | b829c9e15b244e12a98e5dc75c8009d55b60bfab (patch) | |
| tree | 850999cf0e69a87551c80e9c001e3bc9b8340d56 | |
| parent | c483d0530a7bc79fab377327e3228681297b1942 (diff) | |
| download | emacs-b829c9e15b244e12a98e5dc75c8009d55b60bfab.tar.gz emacs-b829c9e15b244e12a98e5dc75c8009d55b60bfab.zip | |
Don't make assumptions about mkdir. (Bug#22822)
* test/Makefile.in (MKDIR_P): New, set by configure.
(%.log): Use MKDIR_P.
| -rw-r--r-- | test/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index b5954dfc519..a5755fd2259 100644 --- a/test/Makefile.in +++ b/test/Makefile.in | |||
| @@ -33,6 +33,8 @@ SHELL = @SHELL@ | |||
| 33 | srcdir = @srcdir@ | 33 | srcdir = @srcdir@ |
| 34 | VPATH = $(srcdir) | 34 | VPATH = $(srcdir) |
| 35 | 35 | ||
| 36 | MKDIR_P = @MKDIR_P@ | ||
| 37 | |||
| 36 | SEPCHAR = @SEPCHAR@ | 38 | SEPCHAR = @SEPCHAR@ |
| 37 | 39 | ||
| 38 | # We never change directory before running Emacs, so a relative file | 40 | # We never change directory before running Emacs, so a relative file |
| @@ -110,7 +112,7 @@ endif | |||
| 110 | fi; \ | 112 | fi; \ |
| 111 | echo Testing $$loadfile; \ | 113 | echo Testing $$loadfile; \ |
| 112 | stat=OK ; \ | 114 | stat=OK ; \ |
| 113 | mkdir --parents $(dir $@) ; \ | 115 | ${MKDIR_P} $(dir $@) ; \ |
| 114 | $(emacs) -l ert -l $$loadfile \ | 116 | $(emacs) -l ert -l $$loadfile \ |
| 115 | --eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" ${WRITE_LOG} | 117 | --eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" ${WRITE_LOG} |
| 116 | 118 | ||