summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-09-21 17:17:12 +0300
committerStefan Kost <ensonic@users.sf.net>2010-09-21 17:17:12 +0300
commiteb70b07faab9b863cd70ee0d4e3b5566e214ec01 (patch)
treeb573db0522ae5ed6933f0dc361c98a29e59cb583 /examples
parenta04d755fcc19f780623f3b1bc30cf9e9915bd5fa (diff)
downloadgtk-doc-eb70b07faab9b863cd70ee0d4e3b5566e214ec01.tar.gz
check: fix check invocation with env-vars
We need to first cd and then set env-vars so that the vars are active for the process. Also pick the chance and pass srcdir + builddir (needed for transition of building in builddir).
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 4065742..661491c 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -96,9 +96,9 @@ EXTRA_DIST +=
# Comment this out if you want 'make check' to test you doc status
# and run some sanity checks
if ENABLE_GTK_DOC
-TESTS_ENVIRONMENT = \
+TESTS_ENVIRONMENT = cd $(srcdir) && \
DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
- cd $(srcdir) &&
+ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
#TESTS = $(GTKDOC_CHECK)
endif