https://github.com/python/cpython/commit/057f3faecf4455a7114c2b22a8a6d3982d2a7e93
commit: 057f3faecf4455a7114c2b22a8a6d3982d2a7e93
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: Yhg1s <[email protected]>
date: 2024-09-23T16:21:35-07:00
summary:

[3.13] Fix `make htmllive` target (GH-124219) (#124221)

Fix `make htmllive` target (GH-124219)

Allow `make -C Doc htmllive` to work without manual venv activation

Set PATH to ensure that `sphinx-autobuild` can find `sphinx-build`.
(cherry picked from commit 9a6e2336e4b54fc13064b77826a67b03b3b45133)

Co-authored-by: Zachary Ware <[email protected]>

files:
M Doc/Makefile

diff --git a/Doc/Makefile b/Doc/Makefile
index b1c856c136170b..a2d89343648dc1 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -152,7 +152,7 @@ htmlview: html
        $(PYTHON) -c "import os, webbrowser; webbrowser.open('file://' + 
os.path.realpath('build/html/index.html'))"
 
 .PHONY: htmllive
-htmllive: SPHINXBUILD = $(VENVDIR)/bin/sphinx-autobuild
+htmllive: SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-autobuild
 htmllive: SPHINXOPTS = --re-ignore="/venv/" --open-browser --delay 0
 htmllive: _ensure-sphinx-autobuild html
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to