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
|
|
|
|
rem it uses a number of tools nmake, gnuwin32 zip, ghostscript, MS word, cvsNT
|
|
|
|
rem cvs is in the path already from CVSNT install
|
|
|
|
rem writes a log file in c:\
|
|
|
|
|
2005-09-08 10:02:57 -04:00
|
|
|
echo Building wxWidgets docs... > c:\temp.log
|
|
|
|
|
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
|
2006-05-09 08:52:03 -04:00
|
|
|
set PATH=%PATH%;C:\wx\wxw26b\utils\tex2rtf\src\vc_based;C:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1
|
2005-09-06 09:31:17 -04:00
|
|
|
set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin
|
2005-09-08 10:02:57 -04:00
|
|
|
echo %PATH% >> c:\temp.log
|
2005-09-06 09:31:17 -04:00
|
|
|
|
|
|
|
rem update wxwidgets (holds docs) and inno (cvs wxMSW module only)
|
|
|
|
c:
|
|
|
|
cd %WXWIN%
|
|
|
|
cvs up -P -d
|
|
|
|
cd \wx\inno\wxWidgets
|
|
|
|
cvs up -P
|
2005-09-08 10:02:57 -04:00
|
|
|
echo CVS update >> c:\temp.log
|
2005-09-06 09:31:17 -04:00
|
|
|
|
|
|
|
|
|
|
|
rem add nmake to the path and build the docs
|
|
|
|
call \vc6
|
|
|
|
echo %PATH% >> c:\temp.log
|
|
|
|
SET >> c:\temp.log
|
|
|
|
cd %WXWIN%\build\script
|
|
|
|
nmake -f makedocs.vc cleandocs
|
|
|
|
nmake -f makedocs.vc alldocs
|
|
|
|
|
2005-09-08 10:02:57 -04:00
|
|
|
del %DAILY%\in\*.p*
|
2006-05-09 08:52:03 -04:00
|
|
|
mkdir %WXWIN%\docs\pdf
|
|
|
|
mkdir %WXWIN%\docs\htmlhelp
|
|
|
|
mkdir %WXWIN%\docs\htb
|
2005-09-06 09:31:17 -04:00
|
|
|
echo starting word >> c:\temp.log
|
|
|
|
start /WAIT winword /mwx_ps
|
|
|
|
|
|
|
|
|
|
|
|
echo cvs doc up part 2 >> c:\temp.log
|
|
|
|
|
|
|
|
rem use ghostscript ps2pdf - add extra path first
|
|
|
|
rem set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin
|
|
|
|
rem set PATH=%PATH%;C:\wx\GnuWin32\bin;C:\PROGRA~1\INNOSE~1
|
|
|
|
|
2005-09-08 10:02:57 -04:00
|
|
|
cd %DAILY%\in
|
2005-09-06 09:31:17 -04:00
|
|
|
call ps2pdf wx.ps >> c:\temp.log
|
|
|
|
call ps2pdf fl.ps >> c:\temp.log
|
|
|
|
call ps2pdf gizmos.ps >> c:\temp.log
|
|
|
|
call ps2pdf mmedia.ps >> c:\temp.log
|
|
|
|
call ps2pdf ogl.ps >> c:\temp.log
|
|
|
|
call ps2pdf svg.ps >> c:\temp.log
|
|
|
|
call ps2pdf tex2rtf.ps >> c:\temp.log
|
|
|
|
|
|
|
|
cd %WXWIN%\build\script
|
|
|
|
iscc wxwidgets.iss >> c:\temp.log
|
|
|
|
|
|
|
|
|
|
|
|
echo Zipping
|
|
|
|
cd %WXWIN%
|
2005-09-08 10:02:57 -04:00
|
|
|
del %DAILY%\*.zip
|
|
|
|
zip %DAILY%\wx-docs-chm.ZIP docs\htmlhelp\wx.chm
|
|
|
|
zip %DAILY%\wx-docs-hlp.ZIP docs\winhelp\wx.hlp docs\winhelp\wx.cnt
|
|
|
|
zip %DAILY%\wx-docs-extra-hlp.ZIP utils/tex2rtf/docs/*.HLP utils/tex2rtf/docs/*.cnt docs/winhelp/*.hlp docs/winhelp/*.cnt -x docs/winhelp/wx.hlp docs/winhelp/wx.*
|
|
|
|
zip %DAILY%\wx-docs-extra-chm.ZIP utils/tex2rtf/docs/*.chm docs/htmlhelp/*.chm
|
2006-09-07 10:49:23 -04:00
|
|
|
cd %DAILY%\
|
|
|
|
mkdir docs
|
|
|
|
mkdir docs\pdf
|
|
|
|
del docs\pdf\*.pdf
|
2006-09-26 04:03:13 -04:00
|
|
|
move in\*.pdf docs\pdf
|
|
|
|
zip wx-docs-pdf.ZIP docs\pdf\wx.pdf
|
|
|
|
zip wx-docs-extra-pdf.ZIP docs\pdf\*.pdf -x docs\pdf\wx.pdf
|
2005-09-06 09:31:17 -04:00
|
|
|
|
|
|
|
|
|
|
|
echo setting S
|
2006-06-05 06:29:53 -04:00
|
|
|
echo yes > net use s: /delete
|
|
|
|
net use s: \\biolpc22\bake
|
2006-09-07 10:49:23 -04:00
|
|
|
net use >> c:\temp.log
|
2005-09-06 09:31:17 -04:00
|
|
|
|
2005-09-08 10:02:57 -04:00
|
|
|
copy %DAILY%\*.ZIP s:\bkl-cronjob\archives\win
|
|
|
|
copy %DAILY%\*.exe s:\bkl-cronjob\archives\win\*.EXE
|
2006-09-07 10:49:23 -04:00
|
|
|
dir s: /od >> c:\temp.log
|
2005-09-06 09:31:17 -04:00
|
|
|
|
|
|
|
|
|
|
|
|