[Python-checkins] r64545 - python/trunk/Doc/Makefile

benjamin.peterson python-checkins at python.org
Thu Jun 26 23:23:30 CEST 2008


Author: benjamin.peterson
Date: Thu Jun 26 23:23:30 2008
New Revision: 64545

Log:
add a htmlview directive

Modified:
   python/trunk/Doc/Makefile

Modified: python/trunk/Doc/Makefile
==============================================================================
--- python/trunk/Doc/Makefile	(original)
+++ python/trunk/Doc/Makefile	Thu Jun 26 23:23:30 2008
@@ -103,6 +103,8 @@
 	@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


More information about the Python-checkins mailing list