]> git.saurik.com Git - wxWidgets.git/blob - build/tools/bld_chm_exe.bat
Add debugging info to the trunk Linux builds.
[wxWidgets.git] / build / tools / bld_chm_exe.bat
1 rem Uncomment the next line to set the version; used also in wxWidgets.iss
2 SET WXW_VER=2.9.1
3 if (%WXW_VER%)==() SET WXW_VER=SVN
4
5 echo docs building for %WXW_VER%
6
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 & dos2unix, ghostscript
10 rem writes a log file in c:\
11
12 echo Building wxWidgets-%WXW_VER% docs... > c:\temp.log
13
14 set WXWIN=c:\wx\wxWidgets
15 set DAILY=c:\daily
16 set INNO=c:\wx\inno\wxWidgets
17
18 rem svn already in my path...
19 set PATH=%PATH%;c:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1;c:\wx\doxygen\bin
20
21 echo %PATH% >> c:\temp.log
22
23
24 rem update wxwidgets (holds docs) and inno (wxMSW setup.exe only)
25 c:
26 cd %WXWIN%
27 svn cleanup >> c:\temp.log
28 svn up >> c:\temp.log
29
30 rem now inno
31 cd %INNO% >> c:\temp.log
32 rem Don't update the svn automatically
33 rem svn cleanup >> c:\temp.log
34 rem svn up >> c:\temp.log
35
36 if exist include\wx\msw\setup.h del include\wx\msw\setup.h
37 if exist include\wx\univ\setup.h del include\wx\univ\setup.h
38
39 del c*.*
40 svn up configure
41 svn up configure.in
42 svn up config.guess
43 svn up config.sub
44 dos2unix configure
45 dos2unix config.guess
46 dos2unix config.sub
47 copy include\wx\msw\setup0.h include\wx\msw\setup.h
48 copy include\wx\univ\setup0.h include\wx\univ\setup.h
49 echo SVN update >> c:\temp.log
50
51 rem make chm
52 rem Now create standalone copies of docs (chm and htb)
53 cd %WXWIN%\docs\doxygen
54 del out\html\*.html
55 del out\html\*.htb
56 del out\html\*.zip
57 del out\*.chm
58 call regen chm
59
60
61 cd %WXWIN%\docs\doxygen\out
62 zip wxWidgets-%WXW_VER%-chm.zip wx.chm
63 copy wxWidgets-%WXW_VER%-chm.zip %DAILY%
64 cd html
65 del *.dot
66 del *.md5
67 zip -r wx.htb *.*
68 zip wxWidgets-%WXW_VER%-htb.zip wx.htb
69 copy wxWidgets-%WXW_VER%-htb.zip %DAILY%
70
71
72 mkdir %INNO%\docs\htmlhelp
73 copy %WXWIN%\docs\doxygen\out\wx.chm %INNO%\docs\htmlhelp\wx.chm
74 cd %WXWIN%\build\tools
75 iscc wxwidgets.iss >> c:\temp.log
76
77 echo docs built for %WXW_VER%
78 echo docs built for %WXW_VER% >> c:\temp.log
79
80