[cairo-commit] test/Makefile.am

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Aug 7 23:46:51 PDT 2006


 test/Makefile.am |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

New commits:
diff-tree 56791ab31d484452cd1ddefd653590095d9f6191 (from caba7f6bda9ba7c1a0738f3b34996c50bde60697)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Aug 8 02:46:38 2006 -0400

    Make "make html" not trigger test reruns
    "make index.html" can still be used to force up-to-date test results,
    causing test reruns if necessary.

diff --git a/test/Makefile.am b/test/Makefile.am
index 3334556..d2feb6d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -509,14 +509,15 @@ retest:
 	$(MAKE) TESTS="$$TESTS" check; \
 	$(MAKE) TESTS="$$TESTS" html
 
-# Make index.html
-html: index.html
+# Make index.html with no dependency tracking.
+html:
+	@echo Creating index.html
+	@perl $(srcdir)/make-html.pl $(TESTS:=.log) > index.html
 
-# Make index.html containing only the failed tests.
+# Make index.html with no dependency tracking, containing only the failed tests.
 rehtml:
 	@$(MAKE) TESTS="$(FAILED_TESTS)" html
 
-
 $(TESTS): $(SUPPORT_PROGS)
 
 %.log: %
@@ -529,6 +530,6 @@ $(NOLOG_TESTS_LOG):
 
 index.html: $(srcdir)/make-html.pl $(TESTS:=.log)
 	@echo Creating index.html
-	@perl $^ > index.html
+	@perl $^ > $@
 
 .PHONY: check-valgrind test recheck retest html rehtml


More information about the cairo-commit mailing list