Created
May 30, 2014 09:53
-
-
Save jaylett/23877fd138fac9cfe06b to your computer and use it in GitHub Desktop.
python3 docs building, but Debian/Ubuntu-specific
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/xapian-bindings/python3/Makefile.am b/xapian-bindings/python3/Makefile.am | |
| index 1b714bc..50561cb 100755 | |
| --- a/xapian-bindings/python3/Makefile.am | |
| +++ b/xapian-bindings/python3/Makefile.am | |
| @@ -163,8 +163,10 @@ dist-hook: $(sphinxdocs) | |
| test -d $(distdir)/docs || mkdir $(distdir)/docs | |
| cp -R -p docs/html $(distdir)/docs | |
| +SPHINX_BUILD = /usr/share/sphinx/scripts/python3/sphinx-build | |
| + | |
| $(sphinxdocs): xapian/__init__.py docs/conf.py $(srcdir)/docs/*.rst $(dist_exampledata_DATA) | |
| - PYTHONPATH=..:$$PYTHONPATH sphinx-build -b html -d doctrees -c docs $(srcdir)/docs docs/html | |
| + PYTHONPATH=..:$$PYTHONPATH $(SPHINX_BUILD) -b html -d doctrees -c docs $(srcdir)/docs docs/html | |
| @echo | |
| @echo "Build finished. The HTML pages are in docs/html." | |
| endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment