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