summaryrefslogtreecommitdiff
path: root/test/Makefile.in
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2015-11-30 21:22:49 +0000
committerPhillip Lord <phillip.lord@russet.org.uk>2015-11-30 21:32:31 +0000
commit1c25d3712e52cf91f7ca38984aa409e62bd35511 (patch)
treef91752415605ae56c7f2cc9bc35260046c083825 /test/Makefile.in
parentf9ebad588a069bab2fde317f7470951acfec5363 (diff)
downloademacs-1c25d3712e52cf91f7ca38984aa409e62bd35511.tar.gz
Improve documentation and clean up.
* test/Makefile.in: Improve documentation, use EMACS variable correctly, and clean up makefile rules.
Diffstat (limited to 'test/Makefile.in')
-rw-r--r--test/Makefile.in7
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
$(foreach test,${TESTS},$(eval $(call test_template,${test})))
+## Include dependencies between test files and the files they test.
+## We do this without the file and eval directly, but then we would
+## have to run Emacs for every make invocation, and it might not be
+## available during clean.
-include make-test-deps.mk
## Re-run all the tests every time.
@@ -141,6 +145,7 @@ check-maybe: ${LOGFILES}
clean mostlyclean:
-rm -f ${LOGFILES} ${LOGSAVEFILES}
+ -rm make-test-deps.mk
bootstrap-clean: clean
-rm -f ${ELCFILES}
@@ -151,7 +156,7 @@ distclean: clean
maintainer-clean: distclean bootstrap-clean
make-test-deps.mk: $(ELFILES) make-test-deps.emacs-lisp
- ../src/emacs --batch -l make-test-deps.emacs-lisp \
+ $(EMACS) --batch -l make-test-deps.emacs-lisp \
--eval "(make-test-deps \"`pwd`\")" \
2> $@
# Makefile ends here.