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 nmake, gnuwin32 zip & dos2unix, ghostscript
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
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%-chm.zip wx.chm
63 copy wxWidgets
-%WXW_VER%-chm.zip
%DAILY%
68 zip wxWidgets
-%WXW_VER%-htb.zip wx.htb
69 copy wxWidgets
-%WXW_VER%-htb.zip
%DAILY%
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
77 echo docs built
for %WXW_VER%
78 echo docs built
for %WXW_VER% >> c
:\temp.log