]> git.saurik.com Git - wxWidgets.git/blob - docs/doxygen/regen.bat
Correct typo in a link in i18n documentation page.
[wxWidgets.git] / docs / doxygen / regen.bat
1 @echo off
2 REM $Id$
3
4 REM This bash script regenerates the HTML doxygen version of the
5 REM wxWidgets manual and adjusts the doxygen log to make it more
6 REM readable.
7
8 mkdir out 2>&1 >NUL
9 mkdir out\html 2>&1 >NUL
10 mkdir out\html\generic 2>&1 >NUL
11
12 REM These not automatically copied by Doxygen because they're not
13 REM used in doxygen documentation, only in our html footer and by our
14 REM custom aliases
15 copy images\generic\*.png out\html\generic 2>&1 >NUL
16
17 pushd ..\..
18 set WXWIDGETS=%CD%
19 popd
20
21 REM Defaults for settings controlled by this script
22 set GENERATE_DOCSET=NO
23 set GENERATE_HTML=NO
24 set GENERATE_HTMLHELP=NO
25 set GENERATE_LATEX=NO
26 set GENERATE_QHP=NO
27 set GENERATE_XML=NO
28 set SEARCHENGINE=NO
29 set SERVER_BASED_SEARCH=NO
30
31 IF "%1" == "all" (
32 set GENERATE_HTML=YES
33 set GENERATE_HTMLHELP=YES
34 set GENERATE_XML=YES
35 ) ELSE (
36 IF "%1" == "chm" (
37 set GENERATE_HTML=YES
38 set GENERATE_HTMLHELP=YES
39 ) ELSE (
40 IF "%1" == "docset" (
41 set GENERATE_DOCSET=YES
42 set GENERATE_HTML=YES
43 ) ELSE (
44 IF "%1" == "latex" (
45 set GENERATE_LATEX=YES
46 ) ELSE (
47 IF "%1" == "php" (
48 set GENERATE_HTML=YES
49 set SEARCHENGINE=YES
50 set SERVER_BASED_SEARCH=YES
51 ) ELSE (
52 IF "%1" == "qch" (
53 set GENERATE_HTML=YES
54 set GENERATE_QHP=YES
55 ) ELSE (
56 IF "%1" == "xml" (
57 set GENERATE_XML=YES
58 ) ELSE (
59 REM Default to HTML format.
60 set GENERATE_HTML=YES
61 set SEARCHENGINE=YES
62 )
63 )
64 )
65 )
66 )
67 )
68 )
69
70 REM
71 REM NOW RUN DOXYGEN
72 REM
73 REM NB: we do this _after_ copying the required files to the output folders
74 REM otherwise when generating the CHM file with Doxygen, those files are
75 REM not included!
76 REM
77 set PATH=%PATH%;%HHC_PATH%
78 doxygen Doxyfile