From e103b2b31576cc930aa44d3cc636fef32f1e1e85 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Mon, 13 Feb 2017 12:07:25 +0000 Subject: [PATCH] Allow the Python interpreter to be overridden on the build command line. --- docs/en_US/Makefile.sphinx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en_US/Makefile.sphinx b/docs/en_US/Makefile.sphinx index 22f312c33..0af55b730 100644 --- a/docs/en_US/Makefile.sphinx +++ b/docs/en_US/Makefile.sphinx @@ -2,6 +2,7 @@ # # You can set these variables from the command line. +PYTHON = python SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = @@ -18,7 +19,7 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . # development environment). code_snippet: @echo "Generating code-snippet.rst for some of the important classes..." - -@python build_code_snippet.py + -@$(PYTHON) build_code_snippet.py help: @echo "Please use \`make ' where is one of"