docs: Enable documentation checks during `make check` by default
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 2 Jan 2015 19:25:32 +0000 (19:25 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 2 Jan 2015 19:25:32 +0000 (19:25 +0000)
Now that they pass, we should endeavour to ensure they continue to pass.

docs/reference/libnice/Makefile.am

index b3fe450..1d53e3b 100644 (file)
@@ -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