]>
Commit | Line | Data |
---|---|---|
16e72edb | 1 | rem Uncomment the next line to set the version; used also in wxWidgets.iss |
f3239c21 | 2 | rem SET WXW_VER=2.9.1-rc1 |
6865660d | 3 | if (%WXW_VER%)==() SET WXW_VER=SVN |
cc48c73f | 4 | |
7b543b99 CE |
5 | echo docs building for %WXW_VER% |
6 | ||
cc48c73f CE |
7 | rem This builds the docs in %WXWIN% in a number of formats |
8 | rem and a clean inno setup in a second tree | |
5b204a08 | 9 | rem it uses a number of tools nmake, gnuwin32 zip & dos2unix, ghostscript, MS word, cvsNT |
cc48c73f CE |
10 | rem cvs is in the path already from CVSNT install |
11 | rem writes a log file in c:\ | |
12 | ||
7b543b99 | 13 | echo Building wxWidgets-%WXW_VER% docs... > c:\temp.log |
96a9f4e8 | 14 | |
cc48c73f | 15 | set WXWIN=c:\wx\wxWidgets |
96a9f4e8 | 16 | set DAILY=c:\daily |
5078fef7 | 17 | set INNO=c:\wx\inno\wxWidgets |
1f3b7817 CE |
18 | |
19 | rem svn already in my path... | |
5078fef7 CE |
20 | set PATH=%PATH%;c:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1 |
21 | ||
61d31e95 CE |
22 | echo %PATH% >> c:\temp.log |
23 | rem add bakefile build... | |
5078fef7 | 24 | set PATH=%PATH%;C:\wx\Bakefile |
61d31e95 CE |
25 | |
26 | SET >> c:\temp.log | |
27 | ||
cc48c73f | 28 | |
5b204a08 | 29 | rem update wxwidgets (holds docs) and inno (cvs wxMSW setup.exe only) |
cc48c73f CE |
30 | c: |
31 | cd %WXWIN% | |
6865660d CE |
32 | svn cleanup >> c:\temp.log |
33 | svn up >> c:\temp.log | |
5b204a08 CE |
34 | |
35 | rem now inno | |
5078fef7 | 36 | cd %INNO% >> c:\temp.log |
0a4090e6 CE |
37 | svn cleanup >> c:\temp.log |
38 | svn up >> c:\temp.log | |
5078fef7 | 39 | |
24e9f36b | 40 | if exist include\wx\msw\setup.h del include\wx\msw\setup.h |
5b204a08 | 41 | if exist include\wx\univ\setup.h del include\wx\univ\setup.h |
0a4090e6 | 42 | |
5078fef7 CE |
43 | rem for cygwin these need to be in unix format |
44 | del configure | |
45 | del config.guess | |
46 | del config.sub | |
47 | svn up configure | |
48 | svn up config.guess | |
49 | svn up config.sub | |
5b204a08 CE |
50 | dos2unix configure |
51 | dos2unix config.guess | |
52 | dos2unix config.sub | |
5078fef7 | 53 | |
24e9f36b | 54 | copy include\wx\msw\setup0.h include\wx\msw\setup.h |
5b204a08 | 55 | copy include\wx\univ\setup0.h include\wx\univ\setup.h |
6865660d | 56 | echo SVN update >> c:\temp.log |
cc48c73f | 57 | |
6865660d | 58 | rem just build the formats not in the SVN to keep down the .#makefile... |
5078fef7 | 59 | cd %INNO%\build\bakefiles |
e83a2e04 | 60 | del .bakefile_gen.state |
5078fef7 | 61 | bakefile_gen -k -f dmars,dmars_smake,msevc4prj >> c:\temp.log |
56363ed0 | 62 | |
cc48c73f | 63 | |
cc48c73f | 64 | |
5078fef7 CE |
65 | rem make and copy chm to inno |
66 | rem Now create standalone copies of docs (chm and htb) | |
67 | cd %WXWIN%\docs\doxygen | |
68 | del out\html\*.html | |
69 | del out\html\*.htb | |
70 | del out\*.chm | |
71 | call regen chm | |
cc48c73f CE |
72 | |
73 | ||
5078fef7 CE |
74 | cd %WXWIN%\docs\doxygen\out |
75 | zip wxWidgets-%WXW_VER%-chm.zip wx.chm | |
76 | copy wxWidgets-%WXW_VER%-chm.zip %DAILY% | |
77 | cd html | |
78 | del *.dot | |
79 | del *.md5 | |
80 | zip -r wx.htb *.* | |
81 | zip wxWidgets-%WXW_VER%-htb.zip wx.htb | |
82 | copy wxWidgets-%WXW_VER%-htb.zip %DAILY% | |
cc48c73f | 83 | |
cc48c73f | 84 | |
5078fef7 CE |
85 | mkdir %INNO%\docs\htmlhelp |
86 | copy %WXWIN%\docs\doxygen\out\wx.chm \wx\inno\wx29b\docs\htmlhelp\wx.chm | |
56363ed0 CE |
87 | cd %WXWIN%\build\script |
88 | iscc wxwidgets.iss >> c:\temp.log | |
cc48c73f | 89 | |
00ea969c CE |
90 | echo docs built for %WXW_VER% |
91 | echo docs built for %WXW_VER% >> c:\temp.log | |
cc48c73f CE |
92 | |
93 |