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