summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorZachary Ware <zach@python.org>2024-09-18 21:02:20 (GMT)
committerGitHub <noreply@github.com>2024-09-18 21:02:20 (GMT)
commit9a6e2336e4b54fc13064b77826a67b03b3b45133 (patch)
tree50d81d3ae5e63c318466261932e2091e97aa4717 /Doc/Makefile
parent21d2a9ab2f4dcbf1be462d3b7f7a231a46bc1cb7 (diff)
downloadcpython-9a6e2336e4b54fc13064b77826a67b03b3b45133.zip
cpython-9a6e2336e4b54fc13064b77826a67b03b3b45133.tar.gz
cpython-9a6e2336e4b54fc13064b77826a67b03b3b45133.tar.bz2
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`.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 505b895..fc0d1e4 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