1 rem Uncomment the next line to set the version; used also in wxWidgets.iss
3 if (%WXW_VER%)==() SET WXW_VER
=SVN
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, gnuwin32 zip & dos2unix,
10 rem writes a log file in c:\
12 echo Building wxWidgets
-%WXW_VER% docs...
> c
:\temp.log
14 set WXWIN
=c
:\wx\wxWidgets
16 set INNO
=c
:\wx\inno\wxWidgets
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 set PATH=%PATH%;C
:\wx\Graphviz
\bin
21 echo %PATH% >> c
:\temp.log
24 rem update wxwidgets (holds docs) and inno (wxMSW setup.exe only)
27 svn cleanup
>> c
:\temp.log
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
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
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
52 rem Now create standalone copies of docs (chm and htb)
53 cd %WXWIN%\docs\doxygen
61 cd %WXWIN%\docs\doxygen\out
62 zip wxWidgets
-%WXW_VER%-docs
-chm.zip wx.chm
63 copy wxWidgets
-%WXW_VER%-docs
-chm.zip
%DAILY%
68 copy wx.htb
%DAILY%\wxWidgets
-%WXW_VER%-docs
-html.zip
69 zip wxWidgets
-%WXW_VER%-docs
-htb.zip wx.htb
70 copy wxWidgets
-%WXW_VER%-docs
-htb.zip
%DAILY%
73 mkdir %INNO%\docs\htmlhelp
74 copy %WXWIN%\docs\doxygen\out\wx.chm
%INNO%\docs\htmlhelp\wx.chm
75 cd %WXWIN%\build
\tools
76 iscc wxwidgets.iss
>> c
:\temp.log
77 copy %INNO%\..\wxMSW
-%WXW_VER%-Setup.exe c
:\daily
79 echo docs built
for %WXW_VER%
80 echo docs built
for %WXW_VER% >> c
:\temp.log