]>
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 | |
686631c6 | 10 | mkdir out\html\generic 2>&1 >NUL\r |
8e59a2cd FM |
11 | mkdir out\html\wxgtk 2>&1 >NUL\r |
12 | mkdir out\html\wxmsw 2>&1 >NUL\r | |
13 | mkdir out\html\wxmac 2>&1 >NUL\r | |
da17b714 | 14 | \r |
ef7f03ad FM |
15 | REM These not automatically copied by Doxygen because they're not\r |
16 | REM used in doxygen documentation, only in our html footer and by our\r | |
17 | REM custom aliases\r | |
8e59a2cd | 18 | copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL\r |
cb2996e2 | 19 | copy images\logo_*.png out\html 2>&1 >NUL\r |
ef7f03ad | 20 | copy images\tab_*.gif out\html 2>&1 >NUL\r |
686631c6 | 21 | copy images\generic\*.png out\html\generic 2>&1 >NUL\r |
3ed3a1c8 BP |
22 | copy images\wxgtk\*.png out\html\wxgtk 2>&1 >NUL\r |
23 | copy images\wxmsw\*.png out\html\wxmsw 2>&1 >NUL\r | |
24 | copy images\wxmac\*.png out\html\wxmac 2>&1 >NUL\r | |
20a886a3 | 25 | copy wxwidgets.js out\html 2>&1 >NUL\r |
da17b714 | 26 | \r |
ef7f03ad | 27 | REM these CSS are not automatically copied by Doxygen because they're\r |
da17b714 | 28 | REM included by our custom html header...\r |
8e59a2cd | 29 | copy wxwidgets.css out\html 2>&1 >NUL\r |
ef7f03ad | 30 | copy wxtabs.css out\html 2>&1 >NUL\r |
8e59a2cd FM |
31 | \r |
32 | REM set cfgfile variable to the right doxyfile to use,\r | |
33 | REM using MS broken batch scripting\r | |
34 | setlocal enableextensions\r | |
35 | set arg=%1\r | |
36 | if "%arg%" EQU "" set cfgfile=Doxyfile_all\r | |
37 | if "%arg%" NEQ "" set cfgfile=Doxyfile_%1\r | |
85e43f4e | 38 | \r |
10da75d0 BP |
39 | pushd ..\..\r |
40 | set WXWIDGETS=%CD%\r | |
41 | popd\r | |
42 | \r | |
85e43f4e FM |
43 | REM\r |
44 | REM NOW RUN DOXYGEN\r | |
45 | REM\r | |
46 | REM NB: we do this _after_ copying the required files to the output folders\r | |
47 | REM otherwise when generating the CHM file with Doxygen, those files are\r | |
48 | REM not included!\r | |
49 | REM\r | |
8e59a2cd FM |
50 | set PATH=%PATH%;%HHC_PATH%\r |
51 | doxygen %cfgfile%\r |