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