]> git.saurik.com Git - wxWidgets.git/blame - docs/doxygen/regen.bat
Moved format selection logic into environment variables instead of conditional config...
[wxWidgets.git] / docs / doxygen / regen.bat
CommitLineData
8e59a2cd 1@echo off\r
da17b714
FM
2REM $Id$\r
3\r
4REM This bash script regenerates the HTML doxygen version of the\r
5REM wxWidgets manual and adjusts the doxygen log to make it more\r
6REM readable.\r
7\r
8e59a2cd
FM
8mkdir out 2>&1 >NUL\r
9mkdir out\html 2>&1 >NUL\r
686631c6 10mkdir out\html\generic 2>&1 >NUL\r
da17b714 11\r
ef7f03ad
FM
12REM These not automatically copied by Doxygen because they're not\r
13REM used in doxygen documentation, only in our html footer and by our\r
14REM custom aliases\r
686631c6 15copy images\generic\*.png out\html\generic 2>&1 >NUL\r
20a886a3 16copy wxwidgets.js out\html 2>&1 >NUL\r
da17b714 17\r
8e59a2cd
FM
18REM set cfgfile variable to the right doxyfile to use,\r
19REM using MS broken batch scripting\r
20setlocal enableextensions\r
21set arg=%1\r
22if "%arg%" EQU "" set cfgfile=Doxyfile_all\r
23if "%arg%" NEQ "" set cfgfile=Doxyfile_%1\r
85e43f4e 24\r
10da75d0
BP
25pushd ..\..\r
26set WXWIDGETS=%CD%\r
27popd\r
28\r
85e43f4e
FM
29REM\r
30REM NOW RUN DOXYGEN\r
31REM\r
32REM NB: we do this _after_ copying the required files to the output folders\r
33REM otherwise when generating the CHM file with Doxygen, those files are\r
34REM not included!\r
35REM\r
8e59a2cd
FM
36set PATH=%PATH%;%HHC_PATH%\r
37doxygen %cfgfile%\r