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