summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-09-15 21:43:06 +0300
committerStefan Kost <ensonic@users.sf.net>2010-09-15 22:17:20 +0300
commit51b5397e622ad1ee3075101339de73f8979ee145 (patch)
treeb7c0802f398c808ddcb45d0d8b075f126ebc3299 /examples
parentf57c90e125679a2bcadf739ca894e68c9f7af3f4 (diff)
downloadgtk-doc-51b5397e622ad1ee3075101339de73f8979ee145.tar.gz
tests: put some Makefile.am vars to test environment for gtkdoc-check
Put DOC_MODULE and DOC_MAIN_SGML_FILE to test environmet.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 86168b7..4065742 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -93,9 +93,12 @@ EXTRA_DIST +=
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
#DISTCLEANFILES +=
-# Comment this out if you want your docs-status tested during 'make check'
+# Comment this out if you want 'make check' to test you doc status
+# and run some sanity checks
if ENABLE_GTK_DOC
-#TESTS_ENVIRONMENT = cd $(srcsrc) &&
+TESTS_ENVIRONMENT = \
+ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
+ cd $(srcdir) &&
#TESTS = $(GTKDOC_CHECK)
endif