From: Brett Cannon Date: Fri, 17 Aug 2007 18:51:57 +0000 (+0000) Subject: Clarify the comment about setting the PYTHON variable for the Doc Makefile. X-Git-Tag: v2.6a1~1483 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea424b5a280437274386b8e6b3fc5ceb1e5fc97f;p=python Clarify the comment about setting the PYTHON variable for the Doc Makefile. --- diff --git a/Doc/tools/sphinx-build.py b/Doc/tools/sphinx-build.py index 8c9331e0ef..e19b10a04a 100644 --- a/Doc/tools/sphinx-build.py +++ b/Doc/tools/sphinx-build.py @@ -13,9 +13,10 @@ if __name__ == '__main__': if sys.version_info[:3] < (2, 5, 0): print >>sys.stderr, """\ -Error: Sphinx needs to be executed with Python 2.5 or newer. +Error: Sphinx needs to be executed with Python 2.5 or newer (If you run this from the Makefile, you can set the PYTHON variable -to the path of an alternative interpreter executable.) +to the path of an alternative interpreter executable, e.g., +``make html PYTHON=python2.5``). """ sys.exit(1)