diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2021-08-06 18:13:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 18:13:59 (GMT) |
commit | 55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3 (patch) | |
tree | 162cc2cf3e7933551e93c3f9157f37480314e71b /Doc/Makefile | |
parent | 8bdf12e99a3dc7ada5f85bba79c2a9eb9931f5b0 (diff) | |
download | cpython-55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3.zip cpython-55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3.tar.gz cpython-55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3.tar.bz2 |
bpo-44756: [docs] revert automated virtual environment creation on `make html` (GH-27635)
It turned out to be disruptive for downstream distributors.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r-- | Doc/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index ac02bbc..24528a1 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -45,7 +45,7 @@ help: @echo " check to run a check for frequent markup errors" @echo " serve to serve the documentation on the localhost (8000)" -build: venv +build: -mkdir -p build # Look first for a Misc/NEWS file (building from a source release tarball # or old repo) and use that, otherwise look for a Misc/NEWS.d directory @@ -145,7 +145,8 @@ clean-venv: venv: @if [ -d $(VENVDIR) ] ; then \ - echo "venv already exists"; \ + echo "venv already exists."; \ + echo "To recreate it, remove it first with \`make clean-venv'."; \ else \ $(PYTHON) -m venv $(VENVDIR); \ $(VENVDIR)/bin/python3 -m pip install -U pip setuptools; \ |