1 rem Uncomment the next line to set the version; used also in wxWidgets.iss
3 if (%WXW_VER%)==() SET WXW_VER
=CVS
5 echo docs building
for %WXW_VER%
7 rem This builds the docs in %WXWIN% in a number of formats
8 rem and a clean inno setup in a second tree
9 rem it uses a number of tools nmake, gnuwin32 zip, ghostscript, MS word, cvsNT
10 rem cvs is in the path already from CVSNT install
11 rem writes a log file in c:\
13 echo Building wxWidgets
-%WXW_VER% docs...
> c
:\temp.log
15 set WXWIN
=c
:\wx\wxWidgets
17 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
18 set PATH=%PATH%;C
:\Program
Files\gs\gs8.51\lib
;C
:\Program
Files\gs\gs8.51
\bin
19 echo %PATH% >> c
:\temp.log
21 rem update wxwidgets (holds docs) and inno (cvs wxMSW module only)
26 if exist include\wx\msw\setup.h
del include\wx\msw\setup.h
28 copy include\wx\msw\setup0.h include\wx\msw\setup.h
29 echo CVS update
>> c
:\temp.log
31 rem add bakefile build...
32 rem just build the formats not in the CVS to keep down the .#makefile...
33 set PATH=%PATH%;C
:\wx\Bakefile\src
34 cd \wx\inno\wxWidgets
\build
\bakefiles
35 del .bakefile_gen.state
36 bakefile_gen
-f dmars
,dmars
,msevc4prj
,dmars_smake
>> c
:\temp.log
39 rem add nmake to the path and build the docs
41 echo %PATH% >> c
:\temp.log
43 cd %WXWIN%\build\script
44 nmake
-f makedocs.vc cleandocs
45 nmake
-f makedocs.vc alldocs
48 mkdir %WXWIN%\docs\pdf
49 mkdir %WXWIN%\docs\htmlhelp
50 mkdir %WXWIN%\docs\htb
51 echo starting word
>> c
:\temp.log
52 start /WAIT winword
/mwx_ps
55 echo cvs doc up part
2 >> c
:\temp.log
57 rem use ghostscript ps2pdf - add extra path first
58 rem set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin
59 rem set PATH=%PATH%;C:\wx\GnuWin32\bin;C:\PROGRA~1\INNOSE~1
62 call ps2pdf wx.ps
>> c
:\temp.log
63 call ps2pdf fl.ps
>> c
:\temp.log
64 call ps2pdf gizmos.ps
>> c
:\temp.log
65 call ps2pdf mmedia.ps
>> c
:\temp.log
66 call ps2pdf ogl.ps
>> c
:\temp.log
67 call ps2pdf svg.ps
>> c
:\temp.log
68 call ps2pdf tex2rtf.ps
>> c
:\temp.log
73 zip
%DAILY%\wxWidgets
-%WXW_VER%-CHM.zip docs\htmlhelp\wx.chm utils
/tex2rtf
/docs
/*.chm docs
/htmlhelp
/*.chm
74 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
80 move in\
*.pdf docs\pdf
81 zip wxWidgets
-%WXW_VER%-PDF.zip docs\pdf\
*.pdf
85 mkdir c
:\wx\inno\wxWidgets\docs\htmlhelp
86 copy docs\htmlhelp\wx.chm \wx\inno\wxWidgets\docs\htmlhelp\wx.chm
87 cd %WXWIN%\build\script
88 iscc wxwidgets.iss
>> c
:\temp.log
91 rem echo yes > net use s: /delete
92 rem net use s: \\biolpc22\bake
93 rem net use >> c:\temp.log
95 rem copy %DAILY%\*.ZIP s:\bkl-cronjob\archives\win
96 rem copy %DAILY%\*.exe s:\bkl-cronjob\archives\win\*.exe
97 rem dir s: /od >> c:\temp.log
99 echo docs built
for %WXW_VER%
100 echo docs built
for %WXW_VER% >> c
:\temp.log