[gobject-introspection] tests/doctool: Make sure we regenerate the mallard code when testing



commit 959c5a72dab00bd2b1a677c73590e6eda2c1f964
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date:   Mon Aug 15 16:34:23 2011 +0200

    tests/doctool: Make sure we regenerate the mallard code when testing

 tests/doctool/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/doctool/Makefile.am b/tests/doctool/Makefile.am
index 373fa33..6185929 100644
--- a/tests/doctool/Makefile.am
+++ b/tests/doctool/Makefile.am
@@ -12,10 +12,10 @@ EXTRA_DIST = $(EXPECTED_MALLARD_DIRS)
 	cp ../../$*.gir .
 
 %-C: %.gir
-	mkdir $*-C && $(INTROSPECTION_DOCTOOL) --language C --format mallard $*.gir -o $*-C/index.page && echo "  GEN  $*-C/index.page"
+	mkdir $*-C ; rm $*-C/*.page ; $(INTROSPECTION_DOCTOOL) --language C --format mallard $*.gir -o $*-C/index.page && echo "  GEN  $*-C/index.page"
 
 %-Python: %.gir
-	mkdir $*-Python && $(INTROSPECTION_DOCTOOL) --language Python --format mallard $*.gir -o $*-Python/index.page && echo "  GEN  $*-Python/index.page"
+	mkdir $*-Python ; rm $*-Python/*.page ; $(INTROSPECTION_DOCTOOL) --language Python --format mallard $*.gir -o $*-Python/index.page && echo "  GEN  $*-Python/index.page"
 
 %-C.page.check: %-C
 	@diff -u -U 10 $(srcdir)/$*-C-expected $*-C && echo "  TEST  $*-C" && rm -rf $*-C



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]