From d78fd375d3f99a5bb4a4799ce5d90a2a946a854c Mon Sep 17 00:00:00 2001 From: Vladimir Vukicevic Date: Sat, 9 Sep 2006 22:18:47 -0700 Subject: [PATCH] [win32] Makefile.win32: fix test and add html targets Add html target to toplevel and test/ Makefile.win32 --- Makefile.win32 | 13 ++++++++++++- test/Makefile.win32 | 10 ++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/Makefile.win32 b/Makefile.win32 index 79a1dadd9..048275dc0 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 0f56bbd4c..9ffa3ba4f 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