2006-11-11 07:00:30 -05:00
|
|
|
rem Uncomment the next line to set the version; used also in wxWidgets.iss
|
2009-07-05 07:51:53 -04:00
|
|
|
rem SET WXW_VER=2.9.1-rc1
|
2007-07-17 09:24:03 -04:00
|
|
|
if (%WXW_VER%)==() SET WXW_VER=SVN
|
2005-09-06 09:31:17 -04:00
|
|
|
|
2006-11-20 04:12:13 -05:00
|
|
|
echo docs building for %WXW_VER%
|
|
|
|
|
2005-09-06 09:31:17 -04:00
|
|
|
rem This builds the docs in %WXWIN% in a number of formats
|
|
|
|
rem and a clean inno setup in a second tree
|
2006-12-20 04:45:42 -05:00
|
|
|
rem it uses a number of tools nmake, gnuwin32 zip & dos2unix, ghostscript, MS word, cvsNT
|
2005-09-06 09:31:17 -04:00
|
|
|
rem cvs is in the path already from CVSNT install
|
|
|
|
rem writes a log file in c:\
|
|
|
|
|
2006-11-20 04:12:13 -05:00
|
|
|
echo Building wxWidgets-%WXW_VER% docs... > c:\temp.log
|
2005-09-08 10:02:57 -04:00
|
|
|
|
2005-09-06 09:31:17 -04:00
|
|
|
set WXWIN=c:\wx\wxWidgets
|
2005-09-08 10:02:57 -04:00
|
|
|
set DAILY=c:\daily
|
2009-04-24 05:45:48 -04:00
|
|
|
set INNO=c:\wx\inno\wxWidgets
|
2007-06-26 13:01:51 -04:00
|
|
|
|
|
|
|
rem svn already in my path...
|
2009-04-24 05:45:48 -04:00
|
|
|
set PATH=%PATH%;c:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1
|
|
|
|
|
2007-03-29 05:17:36 -04:00
|
|
|
echo %PATH% >> c:\temp.log
|
|
|
|
rem add bakefile build...
|
2009-04-24 05:45:48 -04:00
|
|
|
set PATH=%PATH%;C:\wx\Bakefile
|
2007-03-29 05:17:36 -04:00
|
|
|
|
|
|
|
SET >> c:\temp.log
|
|
|
|
|
2005-09-06 09:31:17 -04:00
|
|
|
|
2006-12-20 04:45:42 -05:00
|
|
|
rem update wxwidgets (holds docs) and inno (cvs wxMSW setup.exe only)
|
2005-09-06 09:31:17 -04:00
|
|
|
c:
|
|
|
|
cd %WXWIN%
|
2007-07-17 09:24:03 -04:00
|
|
|
svn cleanup >> c:\temp.log
|
|
|
|
svn up >> c:\temp.log
|
2006-12-20 04:45:42 -05:00
|
|
|
|
|
|
|
rem now inno
|
2009-04-24 05:45:48 -04:00
|
|
|
cd %INNO% >> c:\temp.log
|
2007-10-30 06:22:33 -04:00
|
|
|
svn cleanup >> c:\temp.log
|
|
|
|
svn up >> c:\temp.log
|
2009-04-24 05:45:48 -04:00
|
|
|
|
2006-11-27 09:12:57 -05:00
|
|
|
if exist include\wx\msw\setup.h del include\wx\msw\setup.h
|
2006-12-20 04:45:42 -05:00
|
|
|
if exist include\wx\univ\setup.h del include\wx\univ\setup.h
|
2007-10-30 06:22:33 -04:00
|
|
|
|
2009-04-24 05:45:48 -04:00
|
|
|
rem for cygwin these need to be in unix format
|
|
|
|
del configure
|
|
|
|
del config.guess
|
|
|
|
del config.sub
|
|
|
|
svn up configure
|
|
|
|
svn up config.guess
|
|
|
|
svn up config.sub
|
2006-12-20 04:45:42 -05:00
|
|
|
dos2unix configure
|
|
|
|
dos2unix config.guess
|
|
|
|
dos2unix config.sub
|
2009-04-24 05:45:48 -04:00
|
|
|
|
2006-11-27 09:12:57 -05:00
|
|
|
copy include\wx\msw\setup0.h include\wx\msw\setup.h
|
2006-12-20 04:45:42 -05:00
|
|
|
copy include\wx\univ\setup0.h include\wx\univ\setup.h
|
2007-07-17 09:24:03 -04:00
|
|
|
echo SVN update >> c:\temp.log
|
2005-09-06 09:31:17 -04:00
|
|
|
|
2007-07-17 09:24:03 -04:00
|
|
|
rem just build the formats not in the SVN to keep down the .#makefile...
|
2009-04-24 05:45:48 -04:00
|
|
|
cd %INNO%\build\bakefiles
|
2006-11-10 08:19:03 -05:00
|
|
|
del .bakefile_gen.state
|
2009-04-24 05:45:48 -04:00
|
|
|
bakefile_gen -k -f dmars,dmars_smake,msevc4prj >> c:\temp.log
|
2006-11-10 06:36:04 -05:00
|
|
|
|
2005-09-06 09:31:17 -04:00
|
|
|
|
|
|
|
|
2009-04-24 05:45:48 -04:00
|
|
|
rem make and copy chm to inno
|
|
|
|
rem Now create standalone copies of docs (chm and htb)
|
|
|
|
cd %WXWIN%\docs\doxygen
|
|
|
|
del out\html\*.html
|
|
|
|
del out\html\*.htb
|
|
|
|
del out\*.chm
|
|
|
|
call regen chm
|
2005-09-06 09:31:17 -04:00
|
|
|
|
|
|
|
|
2009-04-24 05:45:48 -04:00
|
|
|
cd %WXWIN%\docs\doxygen\out
|
|
|
|
zip wxWidgets-%WXW_VER%-chm.zip wx.chm
|
|
|
|
copy wxWidgets-%WXW_VER%-chm.zip %DAILY%
|
|
|
|
cd html
|
|
|
|
del *.dot
|
|
|
|
del *.md5
|
|
|
|
zip -r wx.htb *.*
|
|
|
|
zip wxWidgets-%WXW_VER%-htb.zip wx.htb
|
|
|
|
copy wxWidgets-%WXW_VER%-htb.zip %DAILY%
|
2005-09-06 09:31:17 -04:00
|
|
|
|
|
|
|
|
2009-04-24 05:45:48 -04:00
|
|
|
mkdir %INNO%\docs\htmlhelp
|
|
|
|
copy %WXWIN%\docs\doxygen\out\wx.chm \wx\inno\wx29b\docs\htmlhelp\wx.chm
|
2006-11-10 06:36:04 -05:00
|
|
|
cd %WXWIN%\build\script
|
|
|
|
iscc wxwidgets.iss >> c:\temp.log
|
2005-09-06 09:31:17 -04:00
|
|
|
|
2006-11-10 10:35:14 -05:00
|
|
|
echo docs built for %WXW_VER%
|
|
|
|
echo docs built for %WXW_VER% >> c:\temp.log
|
2005-09-06 09:31:17 -04:00
|
|
|
|
|
|
|
|