summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-12-05 20:28:27 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-12-05 20:28:27 (GMT)
commitefb4835f36fe20591c9ffbaa412fd77d91d342c5 (patch)
treea6988dff35ccbdc5f372f9add2b725412dbfffba /Doc
parent92bf919ed0da8d7f112f9659e6065976e382bae1 (diff)
parentd5ea39d1b86ce8ba0db8ea919797adb29b137add (diff)
downloadcpython-efb4835f36fe20591c9ffbaa412fd77d91d342c5.zip
cpython-efb4835f36fe20591c9ffbaa412fd77d91d342c5.tar.gz
cpython-efb4835f36fe20591c9ffbaa412fd77d91d342c5.tar.bz2
Merge heads
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 5b5f68a..93e59ef 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -15,11 +15,12 @@ ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_paper_size=$(PAPER) \
.PHONY: help build html htmlhelp latex text changes linkcheck \
suspicious coverage doctest pydoc-topics htmlview clean dist check serve \
- autobuild-dev autobuild-stable
+ autobuild-dev autobuild-stable venv
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " clean to remove build files"
+ @echo " venv to create a venv with necessary tools"
@echo " html to make standalone HTML files"
@echo " htmlview to open the index page built by the html target in your browser"
@echo " htmlhelp to make HTML files and a HTML help project"
@@ -102,7 +103,11 @@ htmlview: html
$(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')"
clean:
- -rm -rf build/*
+ -rm -rf build/* venv/*
+
+venv:
+ $(PYTHON) -m venv venv
+ ./venv/bin/python3 -m pip install -U Sphinx
dist:
rm -rf dist
@@ -172,4 +177,3 @@ autobuild-stable:
exit 1;; \
esac
@make autobuild-dev
-