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 set WXWIN
=c
:\wx\wxWidgets
9 set PATH=%PATH%;C
:\wx\wxWidg~
1.3\utils
\tex
2rtf\src
\vc_based
;C
:\wx\GnuWin32
\bin
;c
:\progra~
1\htmlhe~
1;C
:\PROGRA~
1\INNOSE~
1
10 set PATH=%PATH%;C
:\Program
Files\gs\gs8.51\lib
;C
:\Program
Files\gs\gs8.51
\bin
11 echo %PATH% >> c
:\temp.log
13 rem update wxwidgets (holds docs) and inno (cvs wxMSW module only)
19 echo CVS update
> c
:\temp.log
22 rem add nmake to the path and build the docs
24 echo %PATH% >> c
:\temp.log
26 cd %WXWIN%\build\script
27 nmake
-f makedocs.vc cleandocs
28 nmake
-f makedocs.vc alldocs
31 echo starting word
>> c
:\temp.log
32 start /WAIT winword
/mwx_ps
35 echo cvs doc up part
2 >> c
:\temp.log
37 rem use ghostscript ps2pdf - add extra path first
38 rem set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin
39 rem set PATH=%PATH%;C:\wx\GnuWin32\bin;C:\PROGRA~1\INNOSE~1
42 call ps2pdf wx.ps
>> c
:\temp.log
43 call ps2pdf fl.ps
>> c
:\temp.log
44 call ps2pdf gizmos.ps
>> c
:\temp.log
45 call ps2pdf mmedia.ps
>> c
:\temp.log
46 call ps2pdf ogl.ps
>> c
:\temp.log
47 call ps2pdf svg.ps
>> c
:\temp.log
48 call ps2pdf tex2rtf.ps
>> c
:\temp.log
50 cd %WXWIN%\build\script
51 iscc wxwidgets.iss
>> c
:\temp.log
57 zip \daily\wx
-docs
-chm.ZIP docs\htmlhelp\wx.chm
58 zip \daily\wx
-docs
-pdf.ZIP C
:\daily\in\wx.pdf
59 zip \daily\wx
-docs
-hlp.ZIP docs\winhelp\wx.hlp docs\winhelp\wx.cnt
60 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.
*
61 zip \daily\wx
-docs
-extra
-chm.ZIP utils
/tex2rtf
/docs
/*.chm docs
/htmlhelp
/*.chm
63 zip \daily\wx
-docs
-extra
-pdf.ZIP
*.pdf
-x wx.pdf
67 rem echo yes > net use s: /delete
68 net use s
: \\biolpc22
\bake
70 copy \daily\
*.ZIP s
:\bkl
-cronjob
\archives\win
71 copy \daily\
*.exe s
:\bkl
-cronjob
\archives\win\
*.EXE