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