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
|
2011-08-27 10:56:33 -04:00
|
|
|
mkdir out\html\generic 2>&1 >NUL
|
2008-03-14 17:26:51 -04:00
|
|
|
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
|
|
|
|
2010-07-25 07:05:43 -04:00
|
|
|
REM These not automatically copied by Doxygen because they're not
|
|
|
|
REM used in doxygen documentation, only in our html footer and by our
|
|
|
|
REM custom aliases
|
2008-03-14 17:26:51 -04:00
|
|
|
copy images\powered-by-wxwidgets.png out\html 2>&1 >NUL
|
2009-02-17 17:06:45 -05:00
|
|
|
copy images\logo_*.png out\html 2>&1 >NUL
|
2010-07-25 07:05:43 -04:00
|
|
|
copy images\tab_*.gif out\html 2>&1 >NUL
|
2011-08-27 10:56:33 -04:00
|
|
|
copy images\generic\*.png out\html\generic 2>&1 >NUL
|
2008-05-04 05:04:38 -04:00
|
|
|
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-04-16 16:11:08 -04:00
|
|
|
copy wxwidgets.js out\html 2>&1 >NUL
|
2008-02-24 15:39:26 -05:00
|
|
|
|
2008-03-14 17:26:51 -04:00
|
|
|
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
|
|
|
|
2008-06-27 12:47:43 -04:00
|
|
|
pushd ..\..
|
|
|
|
set WXWIDGETS=%CD%
|
|
|
|
popd
|
|
|
|
|
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%
|