]> git.saurik.com Git - wxWidgets.git/blame_incremental - build/script/win_docs.bat
Cleanly separate GUI socket-related code from net library.
[wxWidgets.git] / build / script / win_docs.bat
... / ...
CommitLineData
1rem Uncomment the next line to set the version; used also in wxWidgets.iss
2rem SET WXW_VER=2.9.1-rc1
3if (%WXW_VER%)==() SET WXW_VER=SVN
4
5echo docs building for %WXW_VER%
6
7rem This builds the docs in %WXWIN% in a number of formats
8rem and a clean inno setup in a second tree
9rem it uses a number of tools nmake, gnuwin32 zip & dos2unix, ghostscript, MS word, cvsNT
10rem cvs is in the path already from CVSNT install
11rem writes a log file in c:\
12
13echo Building wxWidgets-%WXW_VER% docs... > c:\temp.log
14
15set WXWIN=c:\wx\wxWidgets
16set DAILY=c:\daily
17set INNO=c:\wx\inno\wxWidgets
18
19rem svn already in my path...
20set PATH=%PATH%;c:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1
21
22echo %PATH% >> c:\temp.log
23rem add bakefile build...
24set PATH=%PATH%;C:\wx\Bakefile
25
26SET >> c:\temp.log
27
28
29rem update wxwidgets (holds docs) and inno (cvs wxMSW setup.exe only)
30c:
31cd %WXWIN%
32svn cleanup >> c:\temp.log
33svn up >> c:\temp.log
34
35rem now inno
36cd %INNO% >> c:\temp.log
37svn cleanup >> c:\temp.log
38svn up >> c:\temp.log
39
40if exist include\wx\msw\setup.h del include\wx\msw\setup.h
41if exist include\wx\univ\setup.h del include\wx\univ\setup.h
42
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
50dos2unix configure
51dos2unix config.guess
52dos2unix config.sub
53
54copy include\wx\msw\setup0.h include\wx\msw\setup.h
55copy include\wx\univ\setup0.h include\wx\univ\setup.h
56echo SVN update >> c:\temp.log
57
58rem just build the formats not in the SVN to keep down the .#makefile...
59cd %INNO%\build\bakefiles
60del .bakefile_gen.state
61bakefile_gen -k -f dmars,dmars_smake,msevc4prj >> c:\temp.log
62
63
64
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
72
73
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%
83
84
85mkdir %INNO%\docs\htmlhelp
86copy %WXWIN%\docs\doxygen\out\wx.chm \wx\inno\wx29b\docs\htmlhelp\wx.chm
87cd %WXWIN%\build\script
88iscc wxwidgets.iss >> c:\temp.log
89
90echo docs built for %WXW_VER%
91echo docs built for %WXW_VER% >> c:\temp.log
92
93