X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61d31e9528712381a14ee1b3ab501f6a463c7b97..14b4f6fcc0e3893a73c628de528febd043a1109e:/build/script/win_docs.bat diff --git a/build/script/win_docs.bat b/build/script/win_docs.bat index 10ae8b3f5e..b13245b763 100644 --- a/build/script/win_docs.bat +++ b/build/script/win_docs.bat @@ -1,6 +1,6 @@ rem Uncomment the next line to set the version; used also in wxWidgets.iss rem SET WXW_VER=2.9.0 -if (%WXW_VER%)==() SET WXW_VER=CVS +if (%WXW_VER%)==() SET WXW_VER=SVN echo docs building for %WXW_VER% @@ -14,7 +14,9 @@ echo Building wxWidgets-%WXW_VER% docs... > c:\temp.log set WXWIN=c:\wx\wxWidgets set DAILY=c:\daily -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 + +rem svn already in my path... +set PATH=%PATH%;C:\wx\WXWIDG~1.0\utils\tex2rtf\src\vc_based;c:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1 set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin rem add nmake to the path to build the docs call \vc6 @@ -28,25 +30,28 @@ SET >> c:\temp.log rem update wxwidgets (holds docs) and inno (cvs wxMSW setup.exe only) c: cd %WXWIN% -cvs up -P -d +svn cleanup >> c:\temp.log +svn up >> c:\temp.log rem now inno -cd \wx\inno\wxWidgets +cd \wx\inno\wxWidgets >> c:\temp.log +svn cleanup >> c:\temp.log +svn up >> c:\temp.log del c*.* 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 -cvs up -P + 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 CVS update >> c:\temp.log +echo SVN update >> c:\temp.log -rem just build the formats not in the CVS to keep down the .#makefile... +rem just build the formats not in the SVN to keep down the .#makefile... cd \wx\inno\wxWidgets\build\bakefiles del .bakefile_gen.state -bakefile_gen -f dmars,dmars,msevc4prj,dmars_smake >> c:\temp.log +bakefile_gen -f dmars,dmars_smake,msevc4prj >> c:\temp.log cd %WXWIN%\build\script @@ -73,11 +78,11 @@ del %DAILY%\*.zip zip %DAILY%\wxWidgets-%WXW_VER%-CHM.zip docs\htmlhelp\wx.chm utils/tex2rtf/docs/*.chm zip %DAILY%\wxWidgets-%WXW_VER%-HTB.zip docs\htb\*.htb utils/tex2rtf/docs/*.htb zip %DAILY%\wxWidgets-%WXW_VER%-HLP.zip docs\winhelp\wx.hlp docs\winhelp\wx.cnt utils/tex2rtf/docs/*.HLP utils/tex2rtf/docs/*.cnt -zip -r %DAILY%\wxWidgets-%WXW_VER%-HTML.zip docs\html\* -x CVS -x *.con -x *.hh* -x *.ref -x *.htx -x *.cn1 -x docs\html\CVS\* +zip -r %DAILY%\wxWidgets-%WXW_VER%-HTML.zip docs\html\* utils\tex2rtf\docs\html\* -x CVS -x *.con -x *.hh* -x *.ref -x *.htx -x *.cn1 -x docs\html\CVS\* del %DAILY%\*.tar.gz bsdtar zcvf %DAILY%\wxWidgets-%WXW_VER%-HTB.tar.gz docs/htb/*.htb utils/tex2rtf/docs/*.htb -bsdtar zcvf %DAILY%\wxWidgets-%WXW_VER%-HTML.tar.gz --exclude CVS --exclude *.con --exclude *.hh* --exclude *.ref --exclude *.htx --exclude *.cn1 --exclude docs/html/CVS/* docs/html/* +bsdtar zcvf %DAILY%\wxWidgets-%WXW_VER%-HTML.tar.gz --exclude CVS --exclude *.con --exclude *.hh* --exclude *.ref --exclude *.htx --exclude *.cn1 --exclude docs/html/CVS/* docs/html/* utils/tex2rtf/docs/html/* cd %DAILY%\ mkdir docs @@ -93,15 +98,6 @@ copy docs\htmlhelp\wx.chm \wx\inno\wxWidgets\docs\htmlhelp\wx.chm cd %WXWIN%\build\script iscc wxwidgets.iss >> c:\temp.log -rem echo setting S -rem echo yes > net use s: /delete -rem net use s: \\biolpc22\bake -rem net use >> c:\temp.log - -rem copy %DAILY%\*.ZIP s:\bkl-cronjob\archives\win -rem copy %DAILY%\*.exe s:\bkl-cronjob\archives\win\*.exe -rem dir s: /od >> c:\temp.log - echo docs built for %WXW_VER% echo docs built for %WXW_VER% >> c:\temp.log