78594e9bd3
The problem is that Sphinx can only read input files from a single directory. In VPATH builds, the source and build trees are separate, and the changes.rst went into the build tree. This patch solves the issue by using cfunc as the Sphinx default role.
20 lines
474 B
Makefile
20 lines
474 B
Makefile
EXTRA_DIST = conf.py apiref.rst changes.rst gettingstarted.rst \
|
|
github_commits.c index.rst tutorial.rst ext/refcounting.py
|
|
|
|
SPHINXBUILD = sphinx-build
|
|
SPHINXOPTS = -d _build/doctrees -W
|
|
|
|
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 changes.rst
|