X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09740c31b9d87156893ea13def17bd2a31d8feeb..6a52ea5cb81dcd07c286d34b80945534780fe05f:/wxPython/distrib/makedocs.bat diff --git a/wxPython/distrib/makedocs.bat b/wxPython/distrib/makedocs.bat index 4e353fb32c..cafc2e7c11 100755 --- a/wxPython/distrib/makedocs.bat +++ b/wxPython/distrib/makedocs.bat @@ -1,26 +1,22 @@ -@echo off -rem **** Make a directory to build up a distribution tree -md _distrib_zip -md _distrib_zip\wxPython-%1 +setlocal +set DOCDIR=%WXWIN%\docs -cd _distrib_zip +cd %DOCDIR%\latex\wx +mkdir %DOCDIR%\html\wx +copy *.gif %DOCDIR%\html\wx +copy *.css %DOCDIR%\html\wx +start /wait tex2rtf %DOCDIR%\latex\wx\manual.tex %DOCDIR%\html\wx\wx.htm -twice -html -macros %DOCDIR%\latex\wx\tex2rtf_css.ini -rem **** copy the docs into the tree -md wxPython-%1\docs -md wxPython-%1\docs\wx -md wxPython-%1\docs\ogl -copy %WXWIN%\docs\html\wx\*.* wxPython-%1\docs\wx -copy wxPython-%1\docs\wx\wx.htm wxPython-%1\docs\wx\index.htm -copy %WXWIN%\docs\html\ogl\*.* wxPython-%1\docs\ogl -copy wxPython-%1\docs\ogl\ogl.htm wxPython-%1\docs\ogl\index.htm +erase %DOCDIR%\html\wx\*.con +erase %DOCDIR%\html\wx\*.ref +erase %DOCDIR%\latex\wx\*.con +erase %DOCDIR%\latex\wx\*.ref -rem **** zip up the docs -rem zip -r ..\distrib\wxPython-docs-%1.zip wxPython-%1\docs -tar cvf ..\dist\wxPythonDocs-%1.tar wxPython-%1 -gzip -9 ..\dist\wxPythonDocs-%1.tar - -rem **** Cleanup -cd .. -del /sxzy _distrib_zip +cd %DOCDIR%\html\wx +copy %DOCDIR%\latex\wx\wx.css . +hhc wx.hhp +mkdir ..\..\htmlhelp +erase %DOCDIR%\htmlhelp\wx.chm +move wx.chm ..\..\htmlhelp