annotate Doc/make.bat @ 58765:2ba7677bfa95 legacy-trunk

testCopysign was defined twice in test_math; combine the definitions
author Mark Dickinson <dickinsm@gmail.com>
date Sat, 06 Feb 2010 23:11:25 +0000
parents 8d9c9340b12e
children da94f1666da1
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
52884
8d22873e9b26 #5444: adapt make.bat to new htmlhelp output file name.
Georg Brandl <georg@python.org>
parents: 50606
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
50578
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
12 if "%1" EQU "latex" goto build
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
13 if "%1" EQU "text" goto build
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
14 if "%1" EQU "suspicious" goto build
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
15 if "%1" EQU "linkcheck" goto build
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@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
50578
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@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.
50578
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
24 echo %this% checkout
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
25 echo %this% update
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
26 echo %this% html
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
27 echo %this% htmlhelp
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
28 echo %this% latex
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
29 echo %this% text
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
30 echo %this% suspicious
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
31 echo %this% linkcheck
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@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
57226
f0013ade9c1a use Sphinx 0.6.3
Benjamin Peterson <benjamin@python.org>
parents: 54958
diff changeset
37 svn co %SVNROOT%/external/Sphinx-0.6.3/sphinx tools/sphinx
50578
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
38 svn co %SVNROOT%/external/docutils-0.5/docutils tools/docutils
50606
8685e5855a47 Update make.bat.
Georg Brandl <georg@python.org>
parents: 50578
diff changeset
39 svn co %SVNROOT%/external/Jinja-2.1.1/jinja2 tools/jinja2
58011
8d9c9340b12e #7487: update Pygments version.
Georg Brandl <georg@python.org>
parents: 57226
diff changeset
40 svn co %SVNROOT%/external/Pygments-1.1.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
50606
8685e5855a47 Update make.bat.
Georg Brandl <georg@python.org>
parents: 50578
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
50578
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
54 cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%*
52884
8d22873e9b26 #5444: adapt make.bat to new htmlhelp output file name.
Georg Brandl <georg@python.org>
parents: 50606
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