diff -r d1ef91025d70 Doc/Makefile --- a/Doc/Makefile Mon Jan 14 19:27:36 2013 +0200 +++ b/Doc/Makefile Wed Jan 16 12:32:41 2013 -0600 @@ -115,6 +115,13 @@ @echo "Building finished; now copy build/pydoc-topics/topics.py" \ "to ../Lib/pydoc_data/topics.py" +idledoc: BULIDER = text +idledoc: SOURCES = library/idle.rst +idledoc: build + @echo "Build finished; now copying build/text/library/idle.txt to" \ + "../Lib/idlelib/help.txt." + @cp build/text/library/idle.txt ../Lib/idlelib/help.txt + htmlview: html $(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')" diff -r d1ef91025d70 Doc/make.bat --- a/Doc/make.bat Mon Jan 14 19:27:36 2013 +0200 +++ b/Doc/make.bat Wed Jan 16 12:32:41 2013 -0600 @@ -14,6 +14,7 @@ if "%1" EQU "suspicious" goto build if "%1" EQU "linkcheck" goto build if "%1" EQU "changes" goto build +if "%1" EQU "idledoc" goto idledoc if "%1" EQU "checkout" goto checkout if "%1" EQU "update" goto update @@ -30,6 +31,7 @@ echo %this% suspicious echo %this% linkcheck echo %this% changes +echo %this% idledoc echo. goto end @@ -47,6 +49,12 @@ svn update tools/pygments goto end +:idledoc +call make.bat text library\idle.rst +echo Now copying build/text/library/idle.txt to ../Lib/idlelib/help.txt +copy build\text\library\idle.txt ..\Lib\idlelib\help.txt +goto end + :build if not exist build mkdir build if not exist build\%1 mkdir build\%1