annotate Doc/make.bat @ 74006:88198b93ff2f

Issue #13560: Add PyUnicode_EncodeLocale() * Use PyUnicode_EncodeLocale() in time.strftime() if wcsftime() is not available * Document my last changes in Misc/NEWS
author Victor Stinner <victor.stinner@haypocalc.com>
date Sat, 17 Dec 2011 04:13:41 +0100
parents 3c9232a684ae
children 9b45873e5a68 543c6a8d5787
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
68251
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
1 @@echo off
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
2 setlocal
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
3
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
4 set SVNROOT=http://svn.python.org/projects
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
5 if "%PYTHON%" EQU "" set PYTHON=..\pcbuild\python
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
6 if "%HTMLHELP%" EQU "" set HTMLHELP=%ProgramFiles%\HTML Help Workshop\hhc.exe
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
7 if "%DISTVERSION%" EQU "" for /f "usebackq" %%v in (`%PYTHON% tools/sphinxext/patchlevel.py`) do set DISTVERSION=%%v
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
8
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
9 if "%1" EQU "" goto help
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
10 if "%1" EQU "html" goto build
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
11 if "%1" EQU "htmlhelp" goto build
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
12 if "%1" EQU "latex" goto build
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
13 if "%1" EQU "text" goto build
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
14 if "%1" EQU "suspicious" goto build
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
15 if "%1" EQU "linkcheck" goto build
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
16 if "%1" EQU "changes" goto build
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
17 if "%1" EQU "checkout" goto checkout
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
18 if "%1" EQU "update" goto update
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
19
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
20 :help
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
21 set this=%~n0
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
22 echo HELP
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
23 echo.
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
24 echo %this% checkout
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
25 echo %this% update
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
26 echo %this% html
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
27 echo %this% htmlhelp
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
28 echo %this% latex
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
29 echo %this% text
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
30 echo %this% suspicious
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
31 echo %this% linkcheck
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
32 echo %this% changes
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
33 echo.
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
34 goto end
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
35
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
36 :checkout
68253
1ea492ea40fd Add updated .hgeol file and fix newlines in the 3.2 branch.
Georg Brandl <georg@python.org>
parents: 67618
diff changeset
37 svn co %SVNROOT%/external/Sphinx-1.0.7/sphinx tools/sphinx
68251
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
38 svn co %SVNROOT%/external/docutils-0.6/docutils tools/docutils
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
39 svn co %SVNROOT%/external/Jinja-2.3.1/jinja2 tools/jinja2
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
40 svn co %SVNROOT%/external/Pygments-1.3.1/pygments tools/pygments
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
41 goto end
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
42
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
43 :update
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
44 svn update tools/sphinx
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
45 svn update tools/docutils
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
46 svn update tools/jinja2
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
47 svn update tools/pygments
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
48 goto end
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
49
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
50 :build
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
51 if not exist build mkdir build
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
52 if not exist build\%1 mkdir build\%1
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
53 if not exist build\doctrees mkdir build\doctrees
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
54 cmd /C %PYTHON% --version
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
55 cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%*
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
56 if "%1" EQU "htmlhelp" "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
57 goto end
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
58
255bb3ae7030 Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl <georg@python.org>
parents: 59571
diff changeset
59 :end