]> git.saurik.com Git - wxWidgets.git/blob - docs/doxygen/regen.bat
removed trailing whitespace in Doxygen 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\wxgtk 2>&1 >NUL
11 mkdir out\html\wxmsw 2>&1 >NUL
12 mkdir out\html\wxmac 2>&1 >NUL
13
14 REM this image is not automatically copied by Doxygen because it's not
15 REM used in doxygen documentation but only in our html footer...
16 copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL
17 copy images\*logo.png out\html 2>&1 >NUL
18 copy images\wxgtk\*png out\html\wxgtk 2>&1 >NUL
19 copy images\wxmsw\*png out\html\wxmsw 2>&1 >NUL
20 copy images\wxmac\*png out\html\wxmac 2>&1 >NUL
21
22 REM this CSS is automatically copied by Doxygen because it's
23 REM included by our custom html header...
24 copy wxwidgets.css out\html 2>&1 >NUL
25
26 REM set cfgfile variable to the right doxyfile to use,
27 REM using MS broken batch scripting
28 setlocal enableextensions
29 set arg=%1
30 if "%arg%" EQU "" set cfgfile=Doxyfile_all
31 if "%arg%" NEQ "" set cfgfile=Doxyfile_%1
32
33 REM
34 REM NOW RUN DOXYGEN
35 REM
36 REM NB: we do this _after_ copying the required files to the output folders
37 REM otherwise when generating the CHM file with Doxygen, those files are
38 REM not included!
39 REM
40 set PATH=%PATH%;%HHC_PATH%
41 doxygen %cfgfile%