2010-07-21 09:56:24 -04:00
|
|
|
rem Uncomment the next line to set the version; used also in wxWidgets.iss
|
2012-07-10 19:51:44 -04:00
|
|
|
SET WXW_VER=2.9.5
|
2010-07-21 09:56:24 -04:00
|
|
|
if (%WXW_VER%)==() SET WXW_VER=SVN
|
|
|
|
|
|
|
|
echo docs building for %WXW_VER%
|
|
|
|
|
|
|
|
rem This builds the docs in %WXWIN% in a number of formats
|
|
|
|
rem and a clean inno setup in a second tree
|
2011-06-30 09:17:51 -04:00
|
|
|
rem it uses a number of tools, gnuwin32 zip & dos2unix,
|
2010-07-21 09:56:24 -04:00
|
|
|
rem writes a log file in c:\
|
|
|
|
|
|
|
|
echo Building wxWidgets-%WXW_VER% docs... > c:\temp.log
|
|
|
|
|
|
|
|
set WXWIN=c:\wx\wxWidgets
|
|
|
|
set DAILY=c:\daily
|
|
|
|
set INNO=c:\wx\inno\wxWidgets
|
|
|
|
|
|
|
|
rem svn already in my path...
|
|
|
|
set PATH=%PATH%;c:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1;c:\wx\doxygen\bin
|
2011-12-07 07:48:17 -05:00
|
|
|
set PATH=%PATH%;C:\wx\Graphviz\bin
|
2010-07-21 09:56:24 -04:00
|
|
|
echo %PATH% >> c:\temp.log
|
|
|
|
|
|
|
|
|
|
|
|
rem update wxwidgets (holds docs) and inno (wxMSW setup.exe only)
|
|
|
|
c:
|
|
|
|
cd %WXWIN%
|
|
|
|
svn cleanup >> c:\temp.log
|
|
|
|
svn up >> c:\temp.log
|
|
|
|
|
|
|
|
rem now inno
|
|
|
|
cd %INNO% >> c:\temp.log
|
|
|
|
rem Don't update the svn automatically
|
|
|
|
rem svn cleanup >> c:\temp.log
|
|
|
|
rem svn up >> c:\temp.log
|
|
|
|
|
|
|
|
if exist include\wx\msw\setup.h del include\wx\msw\setup.h
|
|
|
|
if exist include\wx\univ\setup.h del include\wx\univ\setup.h
|
|
|
|
|
|
|
|
del c*.*
|
|
|
|
svn up configure
|
|
|
|
svn up configure.in
|
|
|
|
svn up config.guess
|
|
|
|
svn up config.sub
|
|
|
|
dos2unix configure
|
|
|
|
dos2unix config.guess
|
|
|
|
dos2unix config.sub
|
|
|
|
copy include\wx\msw\setup0.h include\wx\msw\setup.h
|
|
|
|
copy include\wx\univ\setup0.h include\wx\univ\setup.h
|
|
|
|
echo SVN update >> c:\temp.log
|
|
|
|
|
|
|
|
rem make chm
|
|
|
|
rem Now create standalone copies of docs (chm and htb)
|
|
|
|
cd %WXWIN%\docs\doxygen
|
|
|
|
del out\html\*.html
|
|
|
|
del out\html\*.htb
|
|
|
|
del out\html\*.zip
|
|
|
|
del out\*.chm
|
|
|
|
call regen chm
|
|
|
|
|
|
|
|
|
|
|
|
cd %WXWIN%\docs\doxygen\out
|
2011-12-05 04:00:23 -05:00
|
|
|
zip wxWidgets-%WXW_VER%-docs-chm.zip wx.chm
|
|
|
|
copy wxWidgets-%WXW_VER%-docs-chm.zip %DAILY%
|
2010-07-21 09:56:24 -04:00
|
|
|
cd html
|
|
|
|
del *.dot
|
|
|
|
del *.md5
|
|
|
|
zip -r wx.htb *.*
|
2011-12-05 04:00:23 -05:00
|
|
|
copy wx.htb %DAILY%\wxWidgets-%WXW_VER%-docs-html.zip
|
|
|
|
zip wxWidgets-%WXW_VER%-docs-htb.zip wx.htb
|
|
|
|
copy wxWidgets-%WXW_VER%-docs-htb.zip %DAILY%
|
2010-07-21 09:56:24 -04:00
|
|
|
|
|
|
|
|
|
|
|
mkdir %INNO%\docs\htmlhelp
|
|
|
|
copy %WXWIN%\docs\doxygen\out\wx.chm %INNO%\docs\htmlhelp\wx.chm
|
|
|
|
cd %WXWIN%\build\tools
|
|
|
|
iscc wxwidgets.iss >> c:\temp.log
|
|
|
|
|
|
|
|
echo docs built for %WXW_VER%
|
|
|
|
echo docs built for %WXW_VER% >> c:\temp.log
|
|
|
|
|
|
|
|
|