diff options
| author | Phillip Lord | 2015-11-30 21:22:49 +0000 |
|---|---|---|
| committer | Phillip Lord | 2015-11-30 21:32:31 +0000 |
| commit | 1c25d3712e52cf91f7ca38984aa409e62bd35511 (patch) | |
| tree | f91752415605ae56c7f2cc9bc35260046c083825 | |
| parent | f9ebad588a069bab2fde317f7470951acfec5363 (diff) | |
| download | emacs-1c25d3712e52cf91f7ca38984aa409e62bd35511.tar.gz emacs-1c25d3712e52cf91f7ca38984aa409e62bd35511.zip | |
Improve documentation and clean up.
* test/Makefile.in: Improve documentation, use EMACS variable
correctly, and clean up makefile rules.
| -rw-r--r-- | test/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 4d8a802ca36..b2360fb2847 100644 --- a/test/Makefile.in +++ b/test/Makefile.in | |||
| @@ -125,6 +125,10 @@ endef | |||
| 125 | 125 | ||
| 126 | $(foreach test,${TESTS},$(eval $(call test_template,${test}))) | 126 | $(foreach test,${TESTS},$(eval $(call test_template,${test}))) |
| 127 | 127 | ||
| 128 | ## Include dependencies between test files and the files they test. | ||
| 129 | ## We do this without the file and eval directly, but then we would | ||
| 130 | ## have to run Emacs for every make invocation, and it might not be | ||
| 131 | ## available during clean. | ||
| 128 | -include make-test-deps.mk | 132 | -include make-test-deps.mk |
| 129 | 133 | ||
| 130 | ## Re-run all the tests every time. | 134 | ## Re-run all the tests every time. |
| @@ -141,6 +145,7 @@ check-maybe: ${LOGFILES} | |||
| 141 | 145 | ||
| 142 | clean mostlyclean: | 146 | clean mostlyclean: |
| 143 | -rm -f ${LOGFILES} ${LOGSAVEFILES} | 147 | -rm -f ${LOGFILES} ${LOGSAVEFILES} |
| 148 | -rm make-test-deps.mk | ||
| 144 | 149 | ||
| 145 | bootstrap-clean: clean | 150 | bootstrap-clean: clean |
| 146 | -rm -f ${ELCFILES} | 151 | -rm -f ${ELCFILES} |
| @@ -151,7 +156,7 @@ distclean: clean | |||
| 151 | maintainer-clean: distclean bootstrap-clean | 156 | maintainer-clean: distclean bootstrap-clean |
| 152 | 157 | ||
| 153 | make-test-deps.mk: $(ELFILES) make-test-deps.emacs-lisp | 158 | make-test-deps.mk: $(ELFILES) make-test-deps.emacs-lisp |
| 154 | ../src/emacs --batch -l make-test-deps.emacs-lisp \ | 159 | $(EMACS) --batch -l make-test-deps.emacs-lisp \ |
| 155 | --eval "(make-test-deps \"`pwd`\")" \ | 160 | --eval "(make-test-deps \"`pwd`\")" \ |
| 156 | 2> $@ | 161 | 2> $@ |
| 157 | # Makefile ends here. | 162 | # Makefile ends here. |