aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2009-10-25 00:18:03 +0300
committerPetri Lehtinen <petri@digip.org>2009-10-25 00:20:23 +0300
commit59c58ea26c61d92d257b7a5971bcd3bdb235177f (patch)
tree45916df96105f31f41a139423dc669be102e3b6d /Makefile.am
parentf95bb423a36ecac8a588def950ee4cf155dd3144 (diff)
downloadjansson-59c58ea26c61d92d257b7a5971bcd3bdb235177f.zip
jansson-59c58ea26c61d92d257b7a5971bcd3bdb235177f.tar.gz
jansson-59c58ea26c61d92d257b7a5971bcd3bdb235177f.tar.bz2
Build documentation in distcheck-hook
This is to check that all the documentation files are distributed before releasing.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 01b958c..e64f397 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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