]> git.saurik.com Git - wxWidgets.git/blob - docs/doxygen/regen.bat
Work around the fact that wxWebViewIE doesn't send page changing and page changed...
[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 mkdir out\html\wxgtk 2>&1 >NUL
12 mkdir out\html\wxmsw 2>&1 >NUL
13 mkdir out\html\wxmac 2>&1 >NUL
14
15 REM These not automatically copied by Doxygen because they're not
16 REM used in doxygen documentation, only in our html footer and by our
17 REM custom aliases
18 copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL
19 copy images\logo_*.png out\html 2>&1 >NUL
20 copy images\tab_*.gif out\html 2>&1 >NUL
21 copy images\generic\*.png out\html\generic 2>&1 >NUL
22 copy images\wxgtk\*.png out\html\wxgtk 2>&1 >NUL
23 copy images\wxmsw\*.png out\html\wxmsw 2>&1 >NUL
24 copy images\wxmac\*.png out\html\wxmac 2>&1 >NUL
25 copy wxwidgets.js out\html 2>&1 >NUL
26
27 REM these CSS are not automatically copied by Doxygen because they're
28 REM included by our custom html header...
29 copy wxwidgets.css out\html 2>&1 >NUL
30 copy wxtabs.css out\html 2>&1 >NUL
31
32 REM set cfgfile variable to the right doxyfile to use,
33 REM using MS broken batch scripting
34 setlocal enableextensions
35 set arg=%1
36 if "%arg%" EQU "" set cfgfile=Doxyfile_all
37 if "%arg%" NEQ "" set cfgfile=Doxyfile_%1
38
39 pushd ..\..
40 set WXWIDGETS=%CD%
41 popd
42
43 REM
44 REM NOW RUN DOXYGEN
45 REM
46 REM NB: we do this _after_ copying the required files to the output folders
47 REM otherwise when generating the CHM file with Doxygen, those files are
48 REM not included!
49 REM
50 set PATH=%PATH%;%HHC_PATH%
51 doxygen %cfgfile%