aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2011-03-10 21:24:44 +0200
committerPetri Lehtinen <petri@digip.org>2011-03-10 21:24:45 +0200
commitb397711a66751873132311e85ea072c6dbe34f5d (patch)
tree1894025d1b86b8ccd4a9310fa418eff109395de1 /Makefile.am
parentcf9b384bcbd2fab0bfb44e0165368d3abc965f32 (diff)
downloadjansson-b397711a66751873132311e85ea072c6dbe34f5d.zip
jansson-b397711a66751873132311e85ea072c6dbe34f5d.tar.gz
jansson-b397711a66751873132311e85ea072c6dbe34f5d.tar.bz2
Check documentation in make distcheck
It seems that the only way to do this is to use the dvi make target, as it's built in make distcheck after running configure.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 173c7de..e1fd3ab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,9 @@
EXTRA_DIST = CHANGES LICENSE README.rst
SUBDIRS = doc src test
-check-doc:
+# "make distcheck" builds the dvi target, so use it to check that the
+# documentation is built correctly.
+dvi:
$(MAKE) SPHINXOPTS_EXTRA=-W html
pkgconfigdir = $(libdir)/pkgconfig