annotate Doc/make.bat @ 51330:ca423008fa4a legacy-trunk

#5144: document that PySys_SetArgv prepends the script directory (or the empty string) to sys.path.
author Georg Brandl <georg@python.org>
date Thu, 05 Feb 2009 10:37:07 +0000
parents 8685e5855a47
children 8d22873e9b26
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
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
7
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
8 if "%1" EQU "" goto help
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
9 if "%1" EQU "html" goto build
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
10 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
11 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
12 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
13 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
14 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
15 if "%1" EQU "changes" goto build
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
16 if "%1" EQU "checkout" goto checkout
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
17 if "%1" EQU "update" goto update
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
18
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
19 :help
50578
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
20 set this=%~n0
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
21 echo HELP
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
22 echo.
50578
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
23 echo %this% checkout
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
24 echo %this% update
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
25 echo %this% html
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
26 echo %this% htmlhelp
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
27 echo %this% latex
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
28 echo %this% text
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
29 echo %this% suspicious
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
30 echo %this% linkcheck
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
31 echo %this% changes
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
32 echo.
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
33 goto end
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
34
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
35 :checkout
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
36 svn co %SVNROOT%/doctools/trunk/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
37 svn co %SVNROOT%/external/docutils-0.5/docutils tools/docutils
50606
8685e5855a47 Update make.bat.
Georg Brandl <georg@python.org>
parents: 50578
diff changeset
38 svn co %SVNROOT%/external/Jinja-2.1.1/jinja2 tools/jinja2
50578
d41a86875332 Add "suspicious" builder which finds leftover markup in the HTML files.
Georg Brandl <georg@python.org>
parents: 46436
diff changeset
39 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
40 goto end
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
41
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
42 :update
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
43 svn update tools/sphinx
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
44 svn update tools/docutils
50606
8685e5855a47 Update make.bat.
Georg Brandl <georg@python.org>
parents: 50578
diff changeset
45 svn update tools/jinja2
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
46 svn update tools/pygments
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
47 goto end
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
48
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
49 :build
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
50 if not exist build mkdir build
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
51 if not exist build\%1 mkdir build\%1
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
52 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
53 cmd /C %PYTHON% tools\sphinx-build.py -b%1 -dbuild\doctrees . build\%*
45574
4a9588b1e4b9 #2208: allow for non-standard HHC location.
Georg Brandl <georg@python.org>
parents: 45089
diff changeset
54 if "%1" EQU "htmlhelp" "%HTMLHELP%" build\htmlhelp\pydoc.hhp
44743
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
55 goto end
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
56
2946020560e7 Added win_add2path.py to Tools/scripts/
Christian Heimes <christian@cheimes.de>
parents:
diff changeset
57 :end