summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-26 21:23:30 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-06-26 21:23:30 (GMT)
commitb279b8a54113bde92c582e76f05c87115cd09223 (patch)
tree48ec950d93a97f9051369071bc9868a216eecb14 /Doc/Makefile
parentaa7c8bda63cda258a1f4e5c3c997d48dd95c2ba8 (diff)
downloadcpython-b279b8a54113bde92c582e76f05c87115cd09223.zip
cpython-b279b8a54113bde92c582e76f05c87115cd09223.tar.gz
cpython-b279b8a54113bde92c582e76f05c87115cd09223.tar.bz2
add a htmlview directive
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index df88041..9c421cd 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -103,6 +103,8 @@ pydoc-topics: build
@echo "Building finished; now copy build/pydoc-topics/pydoc_topics.py " \
"into the Lib/ directory"
+htmlview: html
+ $(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')"
clean:
-rm -rf build/*
-rm -rf tools/sphinx