Build documentation in distcheck-hook
[jansson.git] / Makefile.am
index 01b958c..e64f397 100644 (file)
@@ -1,2 +1,7 @@
 EXTRA_DIST = CHANGES LICENSE README.rst
 SUBDIRS = doc src test
+
+distcheck-hook:
+       sphinx-build -b html -W \
+               $(distdir)/doc \
+               $(distdir)/_build/doc/.build/html