]> git.saurik.com Git - wxWidgets.git/blame - build/script/win_docs.bat
compilation fix after wxGUIAppTraits::GetToolkitVersion() introduction
[wxWidgets.git] / build / script / win_docs.bat
CommitLineData
cc48c73f
CE
1
2rem This builds the docs in %WXWIN% in a number of formats
3rem and a clean inno setup in a second tree
4rem it uses a number of tools nmake, gnuwin32 zip, ghostscript, MS word, cvsNT
5rem cvs is in the path already from CVSNT install
6rem writes a log file in c:\
7
96a9f4e8
CE
8echo Building wxWidgets docs... > c:\temp.log
9
cc48c73f 10set WXWIN=c:\wx\wxWidgets
96a9f4e8 11set DAILY=c:\daily
3dbe49e1 12set PATH=%PATH%;C:\wx\wxw26b\utils\tex2rtf\src\vc_based;C:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1
cc48c73f 13set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin
96a9f4e8 14echo %PATH% >> c:\temp.log
cc48c73f
CE
15
16rem update wxwidgets (holds docs) and inno (cvs wxMSW module only)
17c:
18cd %WXWIN%
19cvs up -P -d
20cd \wx\inno\wxWidgets
21cvs up -P
96a9f4e8 22echo CVS update >> c:\temp.log
cc48c73f
CE
23
24
25rem add nmake to the path and build the docs
26call \vc6
27echo %PATH% >> c:\temp.log
28SET >> c:\temp.log
29cd %WXWIN%\build\script
30nmake -f makedocs.vc cleandocs
31nmake -f makedocs.vc alldocs
32
96a9f4e8 33del %DAILY%\in\*.p*
3dbe49e1
CE
34mkdir %WXWIN%\docs\pdf
35mkdir %WXWIN%\docs\htmlhelp
36mkdir %WXWIN%\docs\htb
cc48c73f
CE
37echo starting word >> c:\temp.log
38start /WAIT winword /mwx_ps
39
40
41echo cvs doc up part 2 >> c:\temp.log
42
43rem use ghostscript ps2pdf - add extra path first
44rem set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin
45rem set PATH=%PATH%;C:\wx\GnuWin32\bin;C:\PROGRA~1\INNOSE~1
46
96a9f4e8 47cd %DAILY%\in
cc48c73f
CE
48call ps2pdf wx.ps >> c:\temp.log
49call ps2pdf fl.ps >> c:\temp.log
50call ps2pdf gizmos.ps >> c:\temp.log
51call ps2pdf mmedia.ps >> c:\temp.log
52call ps2pdf ogl.ps >> c:\temp.log
53call ps2pdf svg.ps >> c:\temp.log
54call ps2pdf tex2rtf.ps >> c:\temp.log
55
56cd %WXWIN%\build\script
57iscc wxwidgets.iss >> c:\temp.log
58
59
60echo Zipping
61cd %WXWIN%
96a9f4e8
CE
62del %DAILY%\*.zip
63zip %DAILY%\wx-docs-chm.ZIP docs\htmlhelp\wx.chm
96a9f4e8
CE
64zip %DAILY%\wx-docs-hlp.ZIP docs\winhelp\wx.hlp docs\winhelp\wx.cnt
65zip %DAILY%\wx-docs-extra-hlp.ZIP utils/tex2rtf/docs/*.HLP utils/tex2rtf/docs/*.cnt docs/winhelp/*.hlp docs/winhelp/*.cnt -x docs/winhelp/wx.hlp docs/winhelp/wx.*
66zip %DAILY%\wx-docs-extra-chm.ZIP utils/tex2rtf/docs/*.chm docs/htmlhelp/*.chm
e4082155
CE
67cd %DAILY%\
68mkdir docs
69mkdir docs\pdf
70del docs\pdf\*.pdf
71move *.pdf docs\pdf
72zip %DAILY%\wx-docs-pdf.ZIP %DAILY%\docs\pdf\wx.pdf
73zip %DAILY%\docs\pdf\wx-docs-extra-pdf.ZIP *.pdf -x wx.pdf
cc48c73f
CE
74
75
76echo setting S
c8333fe8
CE
77echo yes > net use s: /delete
78net use s: \\biolpc22\bake
e4082155 79net use >> c:\temp.log
cc48c73f 80
96a9f4e8
CE
81copy %DAILY%\*.ZIP s:\bkl-cronjob\archives\win
82copy %DAILY%\*.exe s:\bkl-cronjob\archives\win\*.EXE
e4082155 83dir s: /od >> c:\temp.log
cc48c73f
CE
84
85
86