summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/reference/libnice/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/reference/libnice/Makefile.am b/docs/reference/libnice/Makefile.am
index b3fe450..1d53e3b 100644
--- a/docs/reference/libnice/Makefile.am
+++ b/docs/reference/libnice/Makefile.am
@@ -101,6 +101,7 @@ include $(top_srcdir)/gtk-doc.make
# 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'
-#TESTS = $(GTKDOC_CHECK)
-
+if ENABLE_GTK_DOC
+TESTS_ENVIRONMENT = cd $(builddir) &&
+TESTS = $(GTKDOC_CHECK)
+endif