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