2 rem This builds the docs in %WXWIN% in a number of formats
3 rem and a clean inno setup in a second tree
4 rem it uses a number of tools nmake, gnuwin32 zip, ghostscript, MS word, cvsNT
5 rem cvs is in the path already from CVSNT install
6 rem writes a log file in c:\
8 echo Building wxWidgets docs...
> c
:\temp.log
10 set WXWIN
=c
:\wx\wxWidgets
12 set PATH=%PATH%;C
:\wx\wxw26b\utils
\tex
2rtf\src
\vc_based
;C
:\wx\Gnu
\bin
;c
:\progra~
1\htmlhe~
1;C
:\PROGRA~
1\INNOSE~
1
13 set PATH=%PATH%;C
:\Program
Files\gs\gs8.51\lib
;C
:\Program
Files\gs\gs8.51
\bin
14 echo %PATH% >> c
:\temp.log
16 rem update wxwidgets (holds docs) and inno (cvs wxMSW module only)
22 echo CVS update
>> c
:\temp.log
24 rem add bakefile build...
25 set PATH=%PATH%;C
:\wx\Bakefile\src
26 cd \wx\inno\wxWidgets
\build
\bakefiles
27 del .bakefile_gen.state
31 rem add nmake to the path and build the docs
33 echo %PATH% >> c
:\temp.log
35 cd %WXWIN%\build\script
36 nmake
-f makedocs.vc cleandocs
37 nmake
-f makedocs.vc alldocs
40 mkdir %WXWIN%\docs\pdf
41 mkdir %WXWIN%\docs\htmlhelp
42 mkdir %WXWIN%\docs\htb
43 echo starting word
>> c
:\temp.log
44 start /WAIT winword
/mwx_ps
47 echo cvs doc up part
2 >> c
:\temp.log
49 rem use ghostscript ps2pdf - add extra path first
50 rem set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin
51 rem set PATH=%PATH%;C:\wx\GnuWin32\bin;C:\PROGRA~1\INNOSE~1
54 call ps2pdf wx.ps
>> c
:\temp.log
55 call ps2pdf fl.ps
>> c
:\temp.log
56 call ps2pdf gizmos.ps
>> c
:\temp.log
57 call ps2pdf mmedia.ps
>> c
:\temp.log
58 call ps2pdf ogl.ps
>> c
:\temp.log
59 call ps2pdf svg.ps
>> c
:\temp.log
60 call ps2pdf tex2rtf.ps
>> c
:\temp.log
65 zip
%DAILY%\wxWidgets
-%WXW_VER%-CHM.zip docs\htmlhelp\wx.chm utils
/tex2rtf
/docs
/*.chm docs
/htmlhelp
/*.chm
66 zip
%DAILY%\wxWidgets
-%WXW_VER%-HLP.zip docs\winhelp\wx.hlp docs\winhelp\wx.cnt utils
/tex2rtf
/docs
/*.HLP utils
/tex2rtf
/docs
/*.cnt docs
/winhelp
/*.hlp docs
/winhelp
/*.cnt
67 Rem zip %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.*
68 Rem zip %DAILY%\wx-docs-extra-chm.ZIP utils/tex2rtf/docs/*.chm docs/htmlhelp/*.chm
73 move in\
*.pdf docs\pdf
74 zip wxWidgets
-%WXW_VER%-PDF.zip docs\pdf\
*.pdf
75 Rem zip wx-docs-extra-pdf.ZIP docs\pdf\*.pdf -x docs\pdf\wx.pdf
78 mkdir c
:\wx\inno\wxWidgets\docs\htmlhelp
79 copy docs\htmlhelp\wx.chm
cd \wx\inno\wxWidgets\docs\htmlhelp\wx.chm
80 cd %WXWIN%\build\script
81 iscc wxwidgets.iss
>> c
:\temp.log
84 echo yes
> net use s
: /delete
85 net use s
: \\biolpc22
\bake
86 net use >> c
:\temp.log
88 copy %DAILY%\
*.ZIP s
:\bkl
-cronjob
\archives\win
89 copy %DAILY%\
*.exe s
:\bkl
-cronjob
\archives\win\
*.EXE
90 dir s
: /od
>> c
:\temp.log
92 echo docs built
for %WXW_VER%
93 echo docs built
for %WXW_VER% >> c
:\temp.log