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