]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/doxygen/regen.bat
improved rendering of styles and events sections: put the description of those items...
[wxWidgets.git] / docs / doxygen / regen.bat
index 158e51d93de9d135b5e8dce5a115a62fe1d73a25..d52d7e76311d77681525d54c3ccabd46764f1098 100644 (file)
@@ -1,26 +1,34 @@
+@echo off\r
 REM $Id$\r
 \r
 REM This bash script regenerates the HTML doxygen version of the\r
 REM wxWidgets manual and adjusts the doxygen log to make it more\r
 REM readable.\r
 \r
 REM $Id$\r
 \r
 REM This bash script regenerates the HTML doxygen version of the\r
 REM wxWidgets manual and adjusts the doxygen log to make it more\r
 REM readable.\r
 \r
-mkdir out\r
-mkdir out\html\r
-mkdir out\html\wxgtk\r
-mkdir out\html\wxmsw\r
-mkdir out\html\wxmac\r
+mkdir out 2>&1 >NUL\r
+mkdir out\html 2>&1 >NUL\r
+mkdir out\html\wxgtk 2>&1 >NUL\r
+mkdir out\html\wxmsw 2>&1 >NUL\r
+mkdir out\html\wxmac 2>&1 >NUL\r
 \r
 REM this image is not automatically copied by Doxygen because it's not\r
 REM used in doxygen documentation but only in our html footer...\r
 \r
 REM this image is not automatically copied by Doxygen because it's not\r
 REM used in doxygen documentation but only in our html footer...\r
-copy images\powered-by-wxwidgets.png out\html\r
-copy images\*logo.png out\html\r
-copy images\wxgtk\*png out\html\wxgtk\r
-copy images\wxmsw\*png out\html\wxmsw\r
-copy images\wxmac\*png out\html\wxmac\r
+copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL\r
+copy images\*logo.png out\html 2>&1 >NUL\r
+copy images\wxgtk\*png out\html\wxgtk 2>&1 >NUL\r
+copy images\wxmsw\*png out\html\wxmsw 2>&1 >NUL\r
+copy images\wxmac\*png out\html\wxmac 2>&1 >NUL\r
 \r
 REM this CSS is automatically copied by Doxygen because it's\r
 REM included by our custom html header...\r
 \r
 REM this CSS is automatically copied by Doxygen because it's\r
 REM included by our custom html header...\r
-copy wxwidgets.css out\html\r
+copy wxwidgets.css out\html 2>&1 >NUL\r
+\r
+REM set cfgfile variable to the right doxyfile to use,\r
+REM using MS broken batch scripting\r
+setlocal enableextensions\r
+set arg=%1\r
+if "%arg%" EQU "" set cfgfile=Doxyfile_all\r
+if "%arg%" NEQ "" set cfgfile=Doxyfile_%1\r
 \r
 REM\r
 REM NOW RUN DOXYGEN\r
 \r
 REM\r
 REM NOW RUN DOXYGEN\r
@@ -29,4 +37,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\r
 REM     not included!\r
 REM\r
 REM     otherwise when generating the CHM file with Doxygen, those files are\r
 REM     not included!\r
 REM\r
-doxygen Doxyfile.all\r
+set PATH=%PATH%;%HHC_PATH%\r
+doxygen %cfgfile%\r