]>
Commit | Line | Data |
---|---|---|
1 | @echo off\r | |
2 | REM $Id$\r | |
3 | \r | |
4 | REM This bash script regenerates the HTML doxygen version of the\r | |
5 | REM wxWidgets manual and adjusts the doxygen log to make it more\r | |
6 | REM readable.\r | |
7 | \r | |
8 | mkdir out 2>&1 >NUL\r | |
9 | mkdir out\html 2>&1 >NUL\r | |
10 | mkdir out\html\wxgtk 2>&1 >NUL\r | |
11 | mkdir out\html\wxmsw 2>&1 >NUL\r | |
12 | mkdir out\html\wxmac 2>&1 >NUL\r | |
13 | \r | |
14 | REM These not automatically copied by Doxygen because they're not\r | |
15 | REM used in doxygen documentation, only in our html footer and by our\r | |
16 | REM custom aliases\r | |
17 | copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL\r | |
18 | copy images\logo_*.png out\html 2>&1 >NUL\r | |
19 | copy images\tab_*.gif out\html 2>&1 >NUL\r | |
20 | copy images\wxgtk\*.png out\html\wxgtk 2>&1 >NUL\r | |
21 | copy images\wxmsw\*.png out\html\wxmsw 2>&1 >NUL\r | |
22 | copy images\wxmac\*.png out\html\wxmac 2>&1 >NUL\r | |
23 | copy wxwidgets.js out\html 2>&1 >NUL\r | |
24 | \r | |
25 | REM these CSS are not automatically copied by Doxygen because they're\r | |
26 | REM included by our custom html header...\r | |
27 | copy wxwidgets.css out\html 2>&1 >NUL\r | |
28 | copy wxtabs.css out\html 2>&1 >NUL\r | |
29 | \r | |
30 | REM set cfgfile variable to the right doxyfile to use,\r | |
31 | REM using MS broken batch scripting\r | |
32 | setlocal enableextensions\r | |
33 | set arg=%1\r | |
34 | if "%arg%" EQU "" set cfgfile=Doxyfile_all\r | |
35 | if "%arg%" NEQ "" set cfgfile=Doxyfile_%1\r | |
36 | \r | |
37 | pushd ..\..\r | |
38 | set WXWIDGETS=%CD%\r | |
39 | popd\r | |
40 | \r | |
41 | REM\r | |
42 | REM NOW RUN DOXYGEN\r | |
43 | REM\r | |
44 | REM NB: we do this _after_ copying the required files to the output folders\r | |
45 | REM otherwise when generating the CHM file with Doxygen, those files are\r | |
46 | REM not included!\r | |
47 | REM\r | |
48 | set PATH=%PATH%;%HHC_PATH%\r | |
49 | doxygen %cfgfile%\r |