ce15461608
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
38 lines
1.0 KiB
Batchfile
38 lines
1.0 KiB
Batchfile
@echo off
|
|
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.
|
|
|
|
mkdir out 2>&1 >NUL
|
|
mkdir out\html 2>&1 >NUL
|
|
mkdir out\html\generic 2>&1 >NUL
|
|
|
|
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
|
|
copy images\generic\*.png out\html\generic 2>&1 >NUL
|
|
copy wxwidgets.js 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
|
|
|
|
pushd ..\..
|
|
set WXWIDGETS=%CD%
|
|
popd
|
|
|
|
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
|
|
set PATH=%PATH%;%HHC_PATH%
|
|
doxygen %cfgfile%
|