3d5c0f46f1
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.
21 lines
498 B
Makefile
21 lines
498 B
Makefile
EXTRA_DIST = conf.py apiref.rst changes.rst conformance.rst \
|
|
gettingstarted.rst github_commits.c index.rst tutorial.rst \
|
|
ext/refcounting.py
|
|
|
|
SPHINXBUILD = sphinx-build
|
|
SPHINXOPTS = -d _build/doctrees $(SPHINXOPTS_EXTRA)
|
|
|
|
html-local:
|
|
$(SPHINXBUILD) -b html $(SPHINXOPTS) $(srcdir) _build/html
|
|
|
|
install-html-local: html
|
|
mkdir -p $(DESTDIR)$(htmldir)
|
|
cp -r _build/html $(DESTDIR)$(htmldir)
|
|
|
|
uninstall-local:
|
|
rm -rf $(DESTDIR)$(htmldir)
|
|
|
|
clean-local:
|
|
rm -rf _build
|
|
rm -f ext/refcounting.pyc
|