[gobject-introspection/gir-docbook] Move doctool over to common.mk



commit f239fc6fbea0c7297e28f903237a3eb0377c336b
Author: Johan Dahlin <jdahlin litl com>
Date:   Sat Aug 13 10:06:49 2011 -0300

    Move doctool over to common.mk

 common.mk                 |    2 ++
 tests/doctool/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/common.mk b/common.mk
index 21485fd..df72b20 100644
--- a/common.mk
+++ b/common.mk
@@ -26,3 +26,5 @@ INTROSPECTION_COMPILER_ARGS = \
     --includedir=$(top_srcdir)/gir \
     --includedir=$(builddir) \
     --includedir=$(top_builddir)
+
+INTROSPECTION_DOCTOOL = $(top_builddir)/g-ir-doc-tool$(EXEEXT)
diff --git a/tests/doctool/Makefile.am b/tests/doctool/Makefile.am
index 640759e..1552930 100644
--- a/tests/doctool/Makefile.am
+++ b/tests/doctool/Makefile.am
@@ -12,7 +12,7 @@ BUILT_SOURCES = $(DOCBOOK_FILES)
 EXTRA_DIST = $(EXPECTEDDOCBOOKFILES)
 
 %.xml: %.gir
-	@g-ir-doc-tool $*.gir -o $*.xml && echo "  GEN  $*.xml"
+	$(INTROSPECTION_DOCTOOL) $*.gir -o $*.xml && echo "  GEN  $*.xml"
 
 %.xml.check: %.xml
 	@diff -u -U 10 $(srcdir)/$*-expected.xml $*.xml && echo "  TEST  $*.xml"



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