-
-
Notifications
You must be signed in to change notification settings - Fork 69
/
build_doc.bat
47 lines (39 loc) · 1.36 KB
/
build_doc.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
setlocal
set DMD=c:\s\d\rainers\windows\bin\dmd.exe
rem set WEB=m:\s\d\rainers\web\visuald
set WEB=c:\s\d\visuald\gh-pages\visuald
set CP=c:\u\gnuwin\cp.exe
set SRC= doc/ReportingBugs.dd
set SRC=%SRC% doc/StartPage.dd
set SRC=%SRC% doc/ReportingBugs.dd
set SRC=%SRC% doc/BuildFromSource.dd
set SRC=%SRC% doc/KnownIssues.dd
set SRC=%SRC% doc/Installation.dd
set SRC=%SRC% doc/BrowseInfo.dd
set SRC=%SRC% doc/Profiling.dd
set SRC=%SRC% doc/Coverage.dd
set SRC=%SRC% doc/CppConversion.dd
set SRC=%SRC% doc/Debugging.dd
set SRC=%SRC% doc/ProjectConfig.dd
set SRC=%SRC% doc/TokenReplace.dd
set SRC=%SRC% doc/Search.dd
set SRC=%SRC% doc/Editor.dd
set SRC=%SRC% doc/ProjectWizard.dd
set SRC=%SRC% doc/GlobalOptions.dd
set SRC=%SRC% doc/Features.dd
set SRC=%SRC% doc/VersionHistory.dd
set SRC=%SRC% doc/News36.dd
set SRC=%SRC% doc/CompileCommands.dd
set SRC=%SRC% doc/DustMite.dd
set SRC=%SRC% doc/vcxproject.dd
set DDOC=doc/macros.ddoc doc/html.ddoc doc/dlang.org.ddoc doc/visuald.ddoc
rem ..\..\rainers\d-programming-language.org\dlang.org.ddoc
if not exist %WEB% md %WEB%
if not exist %WEB%\images md %WEB%\images
%cp% -u doc/images/* %WEB%\images
if not exist %WEB%\css md %WEB%\css
%cp% -u doc/css/* %WEB%\css
if not exist %WEB%\js md %WEB%\js
%cp% -u doc/js/* %WEB%\js
%cp% -u doc/favicon.ico %WEB%
%DMD% -Dd%WEB% -o- -w %DDOC% %SRC%