[cairo-commit] Makefile.win32 test/Makefile.win32

Vladimir Vukicevic vladimir at kemper.freedesktop.org
Sat Sep 9 22:18:45 PDT 2006


 Makefile.win32      |   13 ++++++++++++-
 test/Makefile.win32 |   10 ++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

New commits:
diff-tree d78fd375d3f99a5bb4a4799ce5d90a2a946a854c (from 5ab72579ef2a9fce1aedf3068825ccba683b6e79)
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Sat Sep 9 22:18:47 2006 -0700

    [win32] Makefile.win32: fix test and add html targets
    
    Add html target to toplevel and test/ Makefile.win32

diff --git a/Makefile.win32 b/Makefile.win32
index 79a1dad..048275d 100644
--- a/Makefile.win32
+++ b/Makefile.win32
@@ -1,3 +1,11 @@
+#
+# Win32 makefile
+#
+
+CAIRO_VERSION = 1.2.5
+CAIRO_VERSION_MAJOR = 1
+CAIRO_VERSION_MINOR = 2
+CAIRO_VERSION_MICRO = 5
 
 SUBDIRS = pixman/src src
 
@@ -12,7 +20,10 @@ cairo: src/cairo-features.h
 	done
 
 test: cairo
- 	@list='$(TEST_SUBDIRS)'; for f in $$list ; do \
+	@list='$(TEST_SUBDIRS)'; for f in $$list ; do \
 		echo making all in $$f... ; \
 		(cd $$f ; make -f Makefile.win32) || exit 1 ; \
 	done ;
+
+html:
+	@(cd test ; make -f Makefile.win32 html)
diff --git a/test/Makefile.win32 b/test/Makefile.win32
index 0f56bbd..9ffa3ba 100644
--- a/test/Makefile.win32
+++ b/test/Makefile.win32
@@ -100,3 +100,13 @@ all: $(TEST_EXE)
 
 %.exe: %.c
 	@$(CC) $(CFLAGS) /Fe"$@" $<  $(TESTCORE_SOURCES) $(LDFLAGS) $(BOILER_LIB)
+
+test: $(TEST_EXE)
+	@for exe in $(TEST_EXE) ; do \
+		echo $$exe ; \
+		( ./$$exe || exit 0 ) ; \
+	done
+
+html:
+	@echo Creating index.html...
+	@perl make-html.pl > index.html


More information about the cairo-commit mailing list