X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85e43f4e9d0664d56143e731c3e38b8c44aa545a..5f519da23d582da30a0d7894d330198c673400d6:/docs/doxygen/regen.bat diff --git a/docs/doxygen/regen.bat b/docs/doxygen/regen.bat old mode 100755 new mode 100644 index 7e4b481e71..3492e24e3c --- a/docs/doxygen/regen.bat +++ b/docs/doxygen/regen.bat @@ -1,19 +1,39 @@ +@echo off REM $Id$ REM This bash script regenerates the HTML doxygen version of the REM wxWidgets manual and adjusts the doxygen log to make it more REM readable. -mkdir out -mkdir out\html +mkdir out 2>&1 >NUL +mkdir out\html 2>&1 >NUL +mkdir out\html\generic 2>&1 >NUL +mkdir out\html\wxgtk 2>&1 >NUL +mkdir out\html\wxmsw 2>&1 >NUL +mkdir out\html\wxmac 2>&1 >NUL -REM this image is not automatically copied by Doxygen because it's not -REM used in doxygen documentation but only in our html footer... -copy images\powered-by-wxwidgets.png out\html +REM These not automatically copied by Doxygen because they're not +REM used in doxygen documentation, only in our html footer and by our +REM custom aliases +copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL +copy images\logo_*.png out\html 2>&1 >NUL +copy images\tab_*.gif out\html 2>&1 >NUL +copy images\generic\*.png out\html\generic 2>&1 >NUL +copy images\wxgtk\*.png out\html\wxgtk 2>&1 >NUL +copy images\wxmsw\*.png out\html\wxmsw 2>&1 >NUL +copy images\wxmac\*.png out\html\wxmac 2>&1 >NUL +copy wxwidgets.js out\html 2>&1 >NUL -REM this CSS is automatically copied by Doxygen because it's -REM included by our custom html header... -copy wxwidgets.css out\html +REM set cfgfile variable to the right doxyfile to use, +REM using MS broken batch scripting +setlocal enableextensions +set arg=%1 +if "%arg%" EQU "" set cfgfile=Doxyfile_all +if "%arg%" NEQ "" set cfgfile=Doxyfile_%1 + +pushd ..\.. +set WXWIDGETS=%CD% +popd REM REM NOW RUN DOXYGEN @@ -22,4 +42,5 @@ REM NB: we do this _after_ copying the required files to the output folders REM otherwise when generating the CHM file with Doxygen, those files are REM not included! REM -doxygen Doxyfile.all +set PATH=%PATH%;%HHC_PATH% +doxygen %cfgfile%