]>
Commit | Line | Data |
---|---|---|
cc48c73f CE |
1 | |
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:\ | |
7 | ||
96a9f4e8 CE |
8 | echo Building wxWidgets docs... > c:\temp.log |
9 | ||
cc48c73f | 10 | set WXWIN=c:\wx\wxWidgets |
96a9f4e8 | 11 | set DAILY=c:\daily |
3dbe49e1 | 12 | set 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 | 13 | set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin |
96a9f4e8 | 14 | echo %PATH% >> c:\temp.log |
cc48c73f CE |
15 | |
16 | rem update wxwidgets (holds docs) and inno (cvs wxMSW module only) | |
17 | c: | |
18 | cd %WXWIN% | |
19 | cvs up -P -d | |
20 | cd \wx\inno\wxWidgets | |
21 | cvs up -P | |
96a9f4e8 | 22 | echo CVS update >> c:\temp.log |
cc48c73f CE |
23 | |
24 | ||
25 | rem add nmake to the path and build the docs | |
26 | call \vc6 | |
27 | echo %PATH% >> c:\temp.log | |
28 | SET >> c:\temp.log | |
29 | cd %WXWIN%\build\script | |
30 | nmake -f makedocs.vc cleandocs | |
31 | nmake -f makedocs.vc alldocs | |
32 | ||
96a9f4e8 | 33 | del %DAILY%\in\*.p* |
3dbe49e1 CE |
34 | mkdir %WXWIN%\docs\pdf |
35 | mkdir %WXWIN%\docs\htmlhelp | |
36 | mkdir %WXWIN%\docs\htb | |
cc48c73f CE |
37 | echo starting word >> c:\temp.log |
38 | start /WAIT winword /mwx_ps | |
39 | ||
40 | ||
41 | echo cvs doc up part 2 >> c:\temp.log | |
42 | ||
43 | rem use ghostscript ps2pdf - add extra path first | |
44 | rem set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin | |
45 | rem set PATH=%PATH%;C:\wx\GnuWin32\bin;C:\PROGRA~1\INNOSE~1 | |
46 | ||
96a9f4e8 | 47 | cd %DAILY%\in |
cc48c73f CE |
48 | call ps2pdf wx.ps >> c:\temp.log |
49 | call ps2pdf fl.ps >> c:\temp.log | |
50 | call ps2pdf gizmos.ps >> c:\temp.log | |
51 | call ps2pdf mmedia.ps >> c:\temp.log | |
52 | call ps2pdf ogl.ps >> c:\temp.log | |
53 | call ps2pdf svg.ps >> c:\temp.log | |
54 | call ps2pdf tex2rtf.ps >> c:\temp.log | |
55 | ||
56 | cd %WXWIN%\build\script | |
57 | iscc wxwidgets.iss >> c:\temp.log | |
58 | ||
59 | ||
60 | echo Zipping | |
61 | cd %WXWIN% | |
96a9f4e8 CE |
62 | del %DAILY%\*.zip |
63 | zip %DAILY%\wx-docs-chm.ZIP docs\htmlhelp\wx.chm | |
96a9f4e8 CE |
64 | zip %DAILY%\wx-docs-hlp.ZIP docs\winhelp\wx.hlp docs\winhelp\wx.cnt |
65 | 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.* | |
66 | zip %DAILY%\wx-docs-extra-chm.ZIP utils/tex2rtf/docs/*.chm docs/htmlhelp/*.chm | |
e4082155 CE |
67 | cd %DAILY%\ |
68 | mkdir docs | |
69 | mkdir docs\pdf | |
70 | del docs\pdf\*.pdf | |
dba6243c CE |
71 | move in\*.pdf docs\pdf |
72 | zip wx-docs-pdf.ZIP docs\pdf\wx.pdf | |
73 | zip wx-docs-extra-pdf.ZIP docs\pdf\*.pdf -x docs\pdf\wx.pdf | |
cc48c73f CE |
74 | |
75 | ||
76 | echo setting S | |
c8333fe8 CE |
77 | echo yes > net use s: /delete |
78 | net use s: \\biolpc22\bake | |
e4082155 | 79 | net use >> c:\temp.log |
cc48c73f | 80 | |
96a9f4e8 CE |
81 | copy %DAILY%\*.ZIP s:\bkl-cronjob\archives\win |
82 | copy %DAILY%\*.exe s:\bkl-cronjob\archives\win\*.EXE | |
e4082155 | 83 | dir s: /od >> c:\temp.log |
cc48c73f CE |
84 | |
85 | ||
86 |