]> git.saurik.com Git - wxWidgets.git/blame - build/script/win_docs.bat
Correct compilation breakage of r63832.
[wxWidgets.git] / build / script / win_docs.bat
CommitLineData
16e72edb 1rem Uncomment the next line to set the version; used also in wxWidgets.iss
f3239c21 2rem SET WXW_VER=2.9.1-rc1
6865660d 3if (%WXW_VER%)==() SET WXW_VER=SVN
cc48c73f 4
7b543b99
CE
5echo docs building for %WXW_VER%
6
cc48c73f
CE
7rem This builds the docs in %WXWIN% in a number of formats
8rem and a clean inno setup in a second tree
5b204a08 9rem it uses a number of tools nmake, gnuwin32 zip & dos2unix, ghostscript, MS word, cvsNT
cc48c73f
CE
10rem cvs is in the path already from CVSNT install
11rem writes a log file in c:\
12
7b543b99 13echo Building wxWidgets-%WXW_VER% docs... > c:\temp.log
96a9f4e8 14
cc48c73f 15set WXWIN=c:\wx\wxWidgets
96a9f4e8 16set DAILY=c:\daily
5078fef7 17set INNO=c:\wx\inno\wxWidgets
1f3b7817
CE
18
19rem svn already in my path...
5078fef7
CE
20set PATH=%PATH%;c:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1
21
61d31e95
CE
22echo %PATH% >> c:\temp.log
23rem add bakefile build...
5078fef7 24set PATH=%PATH%;C:\wx\Bakefile
61d31e95
CE
25
26SET >> c:\temp.log
27
cc48c73f 28
5b204a08 29rem update wxwidgets (holds docs) and inno (cvs wxMSW setup.exe only)
cc48c73f
CE
30c:
31cd %WXWIN%
6865660d
CE
32svn cleanup >> c:\temp.log
33svn up >> c:\temp.log
5b204a08
CE
34
35rem now inno
5078fef7 36cd %INNO% >> c:\temp.log
0a4090e6
CE
37svn cleanup >> c:\temp.log
38svn up >> c:\temp.log
5078fef7 39
24e9f36b 40if exist include\wx\msw\setup.h del include\wx\msw\setup.h
5b204a08 41if exist include\wx\univ\setup.h del include\wx\univ\setup.h
0a4090e6 42
5078fef7
CE
43rem for cygwin these need to be in unix format
44del configure
45del config.guess
46del config.sub
47svn up configure
48svn up config.guess
49svn up config.sub
5b204a08
CE
50dos2unix configure
51dos2unix config.guess
52dos2unix config.sub
5078fef7 53
24e9f36b 54copy include\wx\msw\setup0.h include\wx\msw\setup.h
5b204a08 55copy include\wx\univ\setup0.h include\wx\univ\setup.h
6865660d 56echo SVN update >> c:\temp.log
cc48c73f 57
6865660d 58rem just build the formats not in the SVN to keep down the .#makefile...
5078fef7 59cd %INNO%\build\bakefiles
e83a2e04 60del .bakefile_gen.state
5078fef7 61bakefile_gen -k -f dmars,dmars_smake,msevc4prj >> c:\temp.log
56363ed0 62
cc48c73f 63
cc48c73f 64
5078fef7
CE
65rem make and copy chm to inno
66rem Now create standalone copies of docs (chm and htb)
67cd %WXWIN%\docs\doxygen
68del out\html\*.html
69del out\html\*.htb
70del out\*.chm
71call regen chm
cc48c73f
CE
72
73
5078fef7
CE
74cd %WXWIN%\docs\doxygen\out
75zip wxWidgets-%WXW_VER%-chm.zip wx.chm
76copy wxWidgets-%WXW_VER%-chm.zip %DAILY%
77cd html
78del *.dot
79del *.md5
80zip -r wx.htb *.*
81zip wxWidgets-%WXW_VER%-htb.zip wx.htb
82copy wxWidgets-%WXW_VER%-htb.zip %DAILY%
cc48c73f 83
cc48c73f 84
5078fef7
CE
85mkdir %INNO%\docs\htmlhelp
86copy %WXWIN%\docs\doxygen\out\wx.chm \wx\inno\wx29b\docs\htmlhelp\wx.chm
56363ed0
CE
87cd %WXWIN%\build\script
88iscc wxwidgets.iss >> c:\temp.log
cc48c73f 89
00ea969c
CE
90echo docs built for %WXW_VER%
91echo docs built for %WXW_VER% >> c:\temp.log
cc48c73f
CE
92
93