X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc48c73f3cc8c2359831fe53c8eec90e958e605a..0c7cb17c730c1e686275aaa8b07b8f7d1a6c12d3:/build/script/win_docs.bat diff --git a/build/script/win_docs.bat b/build/script/win_docs.bat index 9daf49af7b..3e14c8a568 100644 --- a/build/script/win_docs.bat +++ b/build/script/win_docs.bat @@ -5,10 +5,13 @@ 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:\ +echo Building wxWidgets docs... > c:\temp.log + set WXWIN=c:\wx\wxWidgets -set PATH=%PATH%;C:\wx\wxWidg~1.3\utils\tex2rtf\src\vc_based;C:\wx\GnuWin32\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1 +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 set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin -echo %PATH% >> c:\temp.log +echo %PATH% >> c:\temp.log rem update wxwidgets (holds docs) and inno (cvs wxMSW module only) c: @@ -16,7 +19,7 @@ cd %WXWIN% cvs up -P -d cd \wx\inno\wxWidgets cvs up -P -echo CVS update > c:\temp.log +echo CVS update >> c:\temp.log rem add nmake to the path and build the docs @@ -27,7 +30,10 @@ cd %WXWIN%\build\script nmake -f makedocs.vc cleandocs nmake -f makedocs.vc alldocs -del c:\daily\in\*.p* +del %DAILY%\in\*.p* +mkdir %WXWIN%\docs\pdf +mkdir %WXWIN%\docs\htmlhelp +mkdir %WXWIN%\docs\htb echo starting word >> c:\temp.log start /WAIT winword /mwx_ps @@ -38,7 +44,7 @@ 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 -cd \daily\in +cd %DAILY%\in call ps2pdf wx.ps >> c:\temp.log call ps2pdf fl.ps >> c:\temp.log call ps2pdf gizmos.ps >> c:\temp.log @@ -53,22 +59,28 @@ iscc wxwidgets.iss >> c:\temp.log echo Zipping cd %WXWIN% -del \daily\*.zip -zip \daily\wx-docs-chm.ZIP docs\htmlhelp\wx.chm -zip \daily\wx-docs-pdf.ZIP C:\daily\in\wx.pdf -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 -cd \daily\in -zip \daily\wx-docs-extra-pdf.ZIP *.pdf -x wx.pdf +del %DAILY%\*.zip +zip %DAILY%\wxWidgets-Docs-CHM.zip docs\htmlhelp\wx.chm utils/tex2rtf/docs/*.chm docs/htmlhelp/*.chm +zip %DAILY%\wxWidgets-Docs-HLP.zip docs\winhelp\wx.hlp docs\winhelp\wx.cnt utils/tex2rtf/docs/*.HLP utils/tex2rtf/docs/*.cnt docs/winhelp/*.hlp docs/winhelp/*.cnt +Rem 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.* +Rem zip %DAILY%\wx-docs-extra-chm.ZIP utils/tex2rtf/docs/*.chm docs/htmlhelp/*.chm +cd %DAILY%\ +mkdir docs +mkdir docs\pdf +del docs\pdf\*.pdf +move in\*.pdf docs\pdf +zip wxWidgets-Docs-PDF.zip docs\pdf\*.pdf +Rem zip wx-docs-extra-pdf.ZIP docs\pdf\*.pdf -x docs\pdf\wx.pdf echo setting S -rem echo yes > net use s: /delete +echo yes > net use s: /delete net use s: \\biolpc22\bake +net use >> c:\temp.log -copy \daily\*.ZIP s:\bkl-cronjob\archives\win -copy \daily\*.exe s:\bkl-cronjob\archives\win\*.EXE +copy %DAILY%\*.ZIP s:\bkl-cronjob\archives\win +copy %DAILY%\*.exe s:\bkl-cronjob\archives\win\*.EXE +dir s: /od >> c:\temp.log