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