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