1 rem Uncomment the next line to set the version; used also in wxWidgets.iss
2 rem SET WXW_VER=2.9.0-rc1
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, MS word, cvsNT
10 rem cvs is in the path already from CVSNT install
11 rem writes a log file in c:\
13 echo Building wxWidgets
-%WXW_VER% docs...
> c
:\temp.log
15 set WXWIN
=c
:\wx\wxWidgets
17 set INNO
=c
:\wx\inno\wxWidgets
19 rem svn already in my path...
20 set PATH=%PATH%;c
:\wx\Gnu
\bin
;c
:\progra~
1\htmlhe~
1;C
:\PROGRA~
1\INNOSE~
1
22 echo %PATH% >> c
:\temp.log
23 rem add bakefile build...
24 set PATH=%PATH%;C
:\wx\Bakefile
29 rem update wxwidgets (holds docs) and inno (cvs wxMSW setup.exe only)
32 svn cleanup
>> c
:\temp.log
36 cd %INNO% >> c
:\temp.log
37 svn cleanup
>> c
:\temp.log
40 if exist include\wx\msw\setup.h
del include\wx\msw\setup.h
41 if exist include\wx\univ\setup.h
del include\wx\univ\setup.h
43 rem for cygwin these need to be in unix format
54 copy include\wx\msw\setup0.h include\wx\msw\setup.h
55 copy include\wx\univ\setup0.h include\wx\univ\setup.h
56 echo SVN update
>> c
:\temp.log
58 rem just build the formats not in the SVN to keep down the .#makefile...
59 cd %INNO%\build
\bakefiles
60 del .bakefile_gen.state
61 bakefile_gen
-k
-f dmars
,dmars_smake
,msevc4prj
>> c
:\temp.log
65 rem make and copy chm to inno
66 rem Now create standalone copies of docs (chm and htb)
67 cd %WXWIN%\docs\doxygen
74 cd %WXWIN%\docs\doxygen\out
75 zip wxWidgets
-%WXW_VER%-chm.zip wx.chm
76 copy wxWidgets
-%WXW_VER%-chm.zip
%DAILY%
81 zip wxWidgets
-%WXW_VER%-htb.zip wx.htb
82 copy wxWidgets
-%WXW_VER%-htb.zip
%DAILY%
85 mkdir %INNO%\docs\htmlhelp
86 copy %WXWIN%\docs\doxygen\out\wx.chm \wx\inno\wx29b\docs\htmlhelp\wx.chm
87 cd %WXWIN%\build\script
88 iscc wxwidgets.iss
>> c
:\temp.log
90 echo docs built
for %WXW_VER%
91 echo docs built
for %WXW_VER% >> c
:\temp.log