summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2011-08-15 11:32:07 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2011-08-15 11:32:07 +0200
commite7e61604bed2c7fbc189accc578733c1070fdb0c (patch)
treef868933947d39d57da5d2a7d296a32e2b86d7f96 /common.mk
parent33d4e19e3663f4c026a668d0b6d4266c3febb18c (diff)
downloadgobject-introspection-e7e61604bed2c7fbc189accc578733c1070fdb0c.tar.gz
Make sure we have UNINSTALLED_INTROSPECTION_SRCDIR when running tests
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index df72b208..014e30c9 100644
--- a/common.mk
+++ b/common.mk
@@ -27,4 +27,9 @@ INTROSPECTION_COMPILER_ARGS = \
--includedir=$(builddir) \
--includedir=$(top_builddir)
-INTROSPECTION_DOCTOOL = $(top_builddir)/g-ir-doc-tool$(EXEEXT)
+INTROSPECTION_DOCTOOL = \
+ env LPATH=.libs \
+ PYTHONPATH=$(top_builddir):$(top_srcdir) \
+ UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
+ UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
+ $(top_builddir)/g-ir-doc-tool$(EXEEXT)