Skip to content
Snippets Groups Projects
Verified Commit 8700a476 authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

use the correct python executable when building docs

Closes issue #299
parent 16165acc
No related branches found
No related tags found
No related merge requests found
......@@ -30,11 +30,11 @@ clean:
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
latex: Makefile $(GENERATEDPDF)
cd .. ; python setup.py build ; cd -
cd .. ; python3 setup.py build ; cd -
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
cd .. ; python setup.py build ; cd -
cd .. ; python3 setup.py build ; cd -
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment