]> granicus.if.org Git - python/commitdiff
bpo-36329: Declare the version of Python to use for Tools/scripts/serve.py (#12385)
authorStéphane Wirtel <stephane@wirtel.be>
Mon, 18 Mar 2019 10:47:55 +0000 (11:47 +0100)
committerJulien Palard <julien@palard.fr>
Mon, 18 Mar 2019 10:47:55 +0000 (11:47 +0100)
* bpo-36329: Declare the version of Python to use for Tools/scripts/serve.py

* Add the blurb entry

Doc/Makefile
Misc/NEWS.d/next/Documentation/2019-03-17-20-01-41.bpo-36329.L5dJPD.rst [new file with mode: 0644]

index 4b85e9eb605803130188bd2250dae3d0f53779b0..53877e61329089f878c52938fe10e1bf4cb7ffa7 100644 (file)
@@ -174,7 +174,7 @@ check:
        $(PYTHON) tools/rstlint.py -i tools -i $(VENVDIR) -i README.rst
 
 serve:
-       ../Tools/scripts/serve.py build/html
+       $(PYTHON) ../Tools/scripts/serve.py build/html
 
 # Targets for daily automated doc build
 # By default, Sphinx only rebuilds pages where the page content has changed.
diff --git a/Misc/NEWS.d/next/Documentation/2019-03-17-20-01-41.bpo-36329.L5dJPD.rst b/Misc/NEWS.d/next/Documentation/2019-03-17-20-01-41.bpo-36329.L5dJPD.rst
new file mode 100644 (file)
index 0000000..94e5884
--- /dev/null
@@ -0,0 +1,3 @@
+Declare the path of the Python binary for the usage of
+``Tools/scripts/serve.py`` when executing ``make -C Doc/ serve``.
+Contributed by Stéphane Wirtel