summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2012-08-29 14:40:20 -0300
committerJasper St. Pierre <jstpierre@mecheye.net>2012-08-29 14:46:45 -0300
commit426901b15d87ba76386280514f686016b03cc8bf (patch)
treef43493997612bbc0cc906fef3c117bda2d9f3d43
parent5086e2b9ea9e61963bdc091903ae61f50bcafe45 (diff)
downloadgobject-introspection-426901b15d87ba76386280514f686016b03cc8bf.tar.gz
tests: Don't error out if there is no existing directory
-rw-r--r--tests/doctool/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/doctool/Makefile.am b/tests/doctool/Makefile.am
index ba8b5555..60183d00 100644
--- a/tests/doctool/Makefile.am
+++ b/tests/doctool/Makefile.am
@@ -29,10 +29,10 @@ DocExamples_1_0_gir_FILES = $(libdocexamples_la_SOURCES)
GIRS += DocExamples-1.0.gir
%-C: %.gir
- mkdir $*-C ; rm $*-C/*.page ; $(INTROSPECTION_DOCTOOL) --language C $*.gir -o $*-C/ && echo " GEN $*-C/index.page"
+ mkdir $*-C ; rm -f $*-C/*.page ; $(INTROSPECTION_DOCTOOL) --language C $*.gir -o $*-C/ && echo " GEN $*-C/index.page"
%-Python: %.gir
- mkdir $*-Python ; rm $*-Python/*.page ; $(INTROSPECTION_DOCTOOL) --language Python $*.gir -o $*-Python/ && echo " GEN $*-Python/index.page"
+ mkdir $*-Python ; rm -f $*-Python/*.page ; $(INTROSPECTION_DOCTOOL) --language Python $*.gir -o $*-Python/ && echo " GEN $*-Python/index.page"
%-C.page.check: %-C
@diff -u -U 10 $(srcdir)/$*-C-expected $*-C && echo " TEST $*-C" && rm -rf $*-C