2008-03-14 17:26:51 -04:00
|
|
|
@echo off
|
2008-02-24 15:39:26 -05:00
|
|
|
REM $Id$
|
|
|
|
|
|
|
|
REM This bash script regenerates the HTML doxygen version of the
|
|
|
|
REM wxWidgets manual and adjusts the doxygen log to make it more
|
|
|
|
REM readable.
|
|
|
|
|
2008-03-14 17:26:51 -04:00
|
|
|
mkdir out 2>&1 >NUL
|
|
|
|
mkdir out\html 2>&1 >NUL
|
|
|
|
mkdir out\html\wxgtk 2>&1 >NUL
|
|
|
|
mkdir out\html\wxmsw 2>&1 >NUL
|
|
|
|
mkdir out\html\wxmac 2>&1 >NUL
|
2008-02-24 15:39:26 -05:00
|
|
|
|
|
|
|
REM this image is not automatically copied by Doxygen because it's not
|
|
|
|
REM used in doxygen documentation but only in our html footer...
|
2008-03-14 17:26:51 -04:00
|
|
|
copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL
|
|
|
|
copy images\*logo.png out\html 2>&1 >NUL
|
|
|
|
copy images\wxgtk\*png out\html\wxgtk 2>&1 >NUL
|
|
|
|
copy images\wxmsw\*png out\html\wxmsw 2>&1 >NUL
|
|
|
|
copy images\wxmac\*png out\html\wxmac 2>&1 >NUL
|
2008-02-24 15:39:26 -05:00
|
|
|
|
|
|
|
REM this CSS is automatically copied by Doxygen because it's
|
|
|
|
REM included by our custom html header...
|
2008-03-14 17:26:51 -04:00
|
|
|
copy wxwidgets.css out\html 2>&1 >NUL
|
|
|
|
|
|
|
|
REM set cfgfile variable to the right doxyfile to use,
|
|
|
|
REM using MS broken batch scripting
|
|
|
|
setlocal enableextensions
|
|
|
|
set arg=%1
|
|
|
|
if "%arg%" EQU "" set cfgfile=Doxyfile_all
|
|
|
|
if "%arg%" NEQ "" set cfgfile=Doxyfile_%1
|
2008-02-28 16:50:05 -05:00
|
|
|
|
|
|
|
REM
|
|
|
|
REM NOW RUN DOXYGEN
|
|
|
|
REM
|
|
|
|
REM NB: we do this _after_ copying the required files to the output folders
|
|
|
|
REM otherwise when generating the CHM file with Doxygen, those files are
|
|
|
|
REM not included!
|
|
|
|
REM
|
2008-03-14 17:26:51 -04:00
|
|
|
set PATH=%PATH%;%HHC_PATH%
|
|
|
|
doxygen %cfgfile%
|