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