annotate Doc/make.bat @ 58925:eecf1bef052d 2.6

Merged revisions 78207 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line #7930: fix stripid ........
author Ezio Melotti <ezio.melotti@gmail.com>
date Tue, 16 Feb 2010 23:29:44 +0000
parents a2cb7d2721a3
children 460823c675f8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
45574
4a9588b1e4b9 #2208: allow for non-standard HHC location.
Georg Brandl <georg@python.org>
parents: 45089
diff changeset
1 @@echo off
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
2 setlocal
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
3
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
4 set SVNROOT=http://svn.python.org/projects
45574
4a9588b1e4b9 #2208: allow for non-standard HHC location.
Georg Brandl <georg@python.org>
parents: 45089
diff changeset
5 if "%PYTHON%" EQU "" set PYTHON=..\pcbuild\python
4a9588b1e4b9 #2208: allow for non-standard HHC location.
Georg Brandl <georg@python.org>
parents: 45089
diff changeset
6 if "%HTMLHELP%" EQU "" set HTMLHELP=%ProgramFiles%\HTML Help Workshop\hhc.exe
52903
3889d9528601 Merged revisions 71058,71149-71150,71212,71214-71216,71222,71225,71234,71237-71238,71240-71241,71243,71249,71251 via svnmerge from
Georg Brandl <georg@python.org>
parents: 50646
diff changeset
7 if "%DISTVERSION%" EQU "" for /f "usebackq" %%v in (`%PYTHON% tools/sphinxext/patchlevel.py`) do set DISTVERSION=%%v
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
8
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
9 if "%1" EQU "" goto help
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
10 if "%1" EQU "html" goto build
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
11 if "%1" EQU "htmlhelp" goto build
50646
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
12 if "%1" EQU "latex" goto build
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
13 if "%1" EQU "text" goto build
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
14 if "%1" EQU "suspicious" goto build
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
15 if "%1" EQU "linkcheck" goto build
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
16 if "%1" EQU "changes" goto build
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
17 if "%1" EQU "checkout" goto checkout
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
18 if "%1" EQU "update" goto update
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
19
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
20 :help
50646
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
21 set this=%~n0
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
22 echo HELP
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
23 echo.
50646
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
24 echo %this% checkout
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
25 echo %this% update
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
26 echo %this% html
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
27 echo %this% htmlhelp
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
28 echo %this% latex
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
29 echo %this% text
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
30 echo %this% suspicious
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
31 echo %this% linkcheck
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
32 echo %this% changes
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
33 echo.
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
34 goto end
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
35
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
36 :checkout
57228
a2cb7d2721a3 Merged revisions 76255 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 54959
diff changeset
37 svn co %SVNROOT%/external/Sphinx-0.6.3/sphinx tools/sphinx
50646
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
38 svn co %SVNROOT%/external/docutils-0.5/docutils tools/docutils
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
39 svn co %SVNROOT%/external/Jinja-2.1.1/jinja2 tools/jinja2
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
40 svn co %SVNROOT%/external/Pygments-0.11.1/pygments tools/pygments
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
41 goto end
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
42
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
43 :update
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
44 svn update tools/sphinx
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
45 svn update tools/docutils
50646
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
46 svn update tools/jinja2
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
47 svn update tools/pygments
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
48 goto end
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
49
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
50 :build
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
51 if not exist build mkdir build
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
52 if not exist build\%1 mkdir build\%1
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
53 if not exist build\doctrees mkdir build\doctrees
50646
e496fdb927fa Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents: 46436
diff changeset
54 cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%*
52903
3889d9528601 Merged revisions 71058,71149-71150,71212,71214-71216,71222,71225,71234,71237-71238,71240-71241,71243,71249,71251 via svnmerge from
Georg Brandl <georg@python.org>
parents: 50646
diff changeset
55 if "%1" EQU "htmlhelp" "%HTMLHELP%" build\htmlhelp\python%DISTVERSION:.=%.hhp
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
56 goto end
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
57
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
58 :end