[gobject-introspection] tests: Don't error out if there is no existing directory
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] tests: Don't error out if there is no existing directory
- Date: Thu, 30 Aug 2012 02:26:20 +0000 (UTC)
commit 426901b15d87ba76386280514f686016b03cc8bf
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Aug 29 14:40:20 2012 -0300
tests: Don't error out if there is no existing directory
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 ba8b555..60183d0 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]