aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2010-09-06 20:46:14 +0300
committerPetri Lehtinen <petri@digip.org>2010-09-06 20:46:15 +0300
commit3d5c0f46f10bcb26f054af9ab2cf1d910148f9d5 (patch)
tree90b19e97e98218115dd30c0d82a1443ff56d3397 /Makefile.am
parent145032a57f7844c29f2c40415b46338ac3445207 (diff)
downloadjansson-3d5c0f46f10bcb26f054af9ab2cf1d910148f9d5.zip
jansson-3d5c0f46f10bcb26f054af9ab2cf1d910148f9d5.tar.gz
jansson-3d5c0f46f10bcb26f054af9ab2cf1d910148f9d5.tar.bz2
Run Sphinx without the -W flag when building documentation1.3
In "make html", don't use the -W flag with Sphinx. This makes it possible to create the documentation with Sphinx 1.0 without errors, as the warning about using old-style C markup isn't turned to an error. Don't build documentation in "make check". Instead, add a new make target "check-doc" to build the documentation with the -W flag.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a141cd5..173c7de 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,8 @@
EXTRA_DIST = CHANGES LICENSE README.rst
SUBDIRS = doc src test
-check-local: html
+check-doc:
+ $(MAKE) SPHINXOPTS_EXTRA=-W html
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = jansson.pc