~ubuntu-branches/ubuntu/maverick/wxwidgets2.8/maverick-proposed

« back to all changes in this revision

Viewing changes to build/script/win_docs.bat

  • Committer: Bazaar Package Importer
  • Author(s): Devid Filoni
  • Date: 2007-11-06 18:25:13 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071106182513-809agqds6igh7mqo
Tags: 2.8.6.1-0ubuntu1
* New upstream version, based on the upstream tarball
  wxPython-src-2.8.6.1.tar.bz2, renamed debian to debian-upstream.
* Provide a get-orig-source target to do the repackaging.
* Fix "substvar-source-version-is-deprecated" lintian warnings.
* Remove duplicate Description field in debian/control.
* Add "\" at the end of line 8 in debian/python-wxtools.menu to fix
  "bad-test-in-menu-item" lintian error.
* Provide .xpm icons to fix "menu-icon-not-in-xpm-format" lintian errors,
  changed Icon field in debian/python-wxtools.menu.
* Fix "wrong-name-for-upstream-changelog" lintian warnings.
* Remove "Application;" from Categories field in debian/pycrust.desktop,
  debian/pyshell.desktop, debian/xrced.desktop.
* Switch "Apps" to "Applications" in debian/python-wxtools.menu to fix
  "menu-item-uses-apps-section" lintian warnings.
* Drop the icon extension from debian/pycrust.desktop,
  debian/pyshell.desktop, debian/xrced.desktop.
* Add dpatch support.
* Add "WX_CONFIG" patch.
* debian/rules:
  - added .xpm icons to install-gtk-py-tools target
  - added "docs/changes.txt" to dh_installchangelogs in binary-common target
  - added "\" at the end of "install-examples install-msw-dev
    install-msw-dbg install-headers-msw" line in .PHONY

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
rem Uncomment the next line to set the version; used also in wxWidgets.iss
2
 
SET WXW_VER=2.8.4
 
2
SET WXW_VER=2.8.6
3
3
 
4
4
 
5
5
if (%WXW_VER%)==() SET WXW_VER=CVS
14
14
 
15
15
echo Building wxWidgets-%WXW_VER% docs... > c:\temp.log
16
16
 
17
 
set WXWIN=c:\wx\wxWidgets
18
 
set DAILY=c:\daily
 
17
set WXWIN=c:\wx\wxw28b
 
18
set DAILY=c:\daily28b
19
19
set PATH=%PATH%;C:\wx\wxw26b\utils\tex2rtf\src\vc_based;C:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1
20
20
set PATH=%PATH%;C:\Program Files\gs\gs8.51\lib;C:\Program Files\gs\gs8.51\bin
21
21
echo %PATH% >> c:\temp.log
22
22
 
23
 
rem update wxwidgets (holds docs) and inno (cvs wxMSW setup.exe only)
 
23
rem update wxw28b (holds docs) and inno (cvs wxMSW setup.exe only)
24
24
c:
25
25
cd %WXWIN%
26
 
cvs up -P -d
 
26
svn up 
27
27
 
28
28
rem now inno
29
 
cd \wx\inno\wxWidgets
 
29
cd \wx\inno\wxw28b
30
30
del c*.*
31
31
if exist include\wx\msw\setup.h del include\wx\msw\setup.h
32
32
if exist include\wx\univ\setup.h del include\wx\univ\setup.h
33
 
cvs up -P
 
33
svn up 
34
34
dos2unix configure
35
35
dos2unix config.guess
36
36
dos2unix config.sub
41
41
rem add bakefile build...
42
42
rem just build the formats not in the CVS to keep down the .#makefile...
43
43
set PATH=%PATH%;C:\wx\Bakefile\src
44
 
cd \wx\inno\wxWidgets\build\bakefiles
 
44
cd \wx\inno\wxw28b\build\bakefiles
45
45
del .bakefile_gen.state
46
 
bakefile_gen -f dmars,dmars,msevc4prj,dmars_smake >> c:\temp.log
 
46
if not exist Bakefiles.local.bkgen echo "Bakefiles.local.bkgen missing" >> c:\temp.log
 
47
bakefile_gen -f dmars,msevc4prj,dmars_smake >> c:\temp.log
47
48
 
48
49
 
49
50
rem add nmake to the path and build the docs
51
52
echo %PATH% >>  c:\temp.log
52
53
SET >>  c:\temp.log
53
54
cd %WXWIN%\build\script
 
55
mkdir %DAILY%\in
54
56
nmake -f makedocs.vc cleandocs
55
57
nmake -f makedocs.vc alldocs
56
58
 
82
84
del %DAILY%\*.zip
83
85
zip %DAILY%\wxWidgets-%WXW_VER%-CHM.zip docs\htmlhelp\wx.chm utils/tex2rtf/docs/*.chm docs/htmlhelp/*.chm
84
86
zip %DAILY%\wxWidgets-%WXW_VER%-HLP.zip docs\winhelp\wx.hlp docs\winhelp\wx.cnt utils/tex2rtf/docs/*.HLP utils/tex2rtf/docs/*.cnt docs/winhelp/*.hlp docs/winhelp/*.cnt
 
87
zip %DAILY%\wxWidgets-%WXW_VER%-HTB.zip docs\htb\*.htb utils/tex2rtf/docs/*.htb 
 
88
zip %DAILY%\wxWidgets-%WXW_VER%-HTML.zip docs\mshtml\wx\*.* utils/tex2rtf/docs/*.html utils/tex2rtf/docs/*.gif 
85
89
 
86
90
cd %DAILY%\
87
91
mkdir docs
92
96
 
93
97
rem copy chm to inno
94
98
cd %WXWIN%
95
 
mkdir c:\wx\inno\wxWidgets\docs\htmlhelp
96
 
copy docs\htmlhelp\wx.chm \wx\inno\wxWidgets\docs\htmlhelp\wx.chm
 
99
mkdir c:\wx\inno\wxw28b\docs\htmlhelp
 
100
copy docs\htmlhelp\wx.chm \wx\inno\wxw28b\docs\htmlhelp\wx.chm
97
101
cd %WXWIN%\build\script
98
102
iscc wxwidgets.iss >> c:\temp.log
99
103
 
100
 
rem echo setting S
101
 
rem echo yes > net use s: /delete
102
 
rem net use s: \\biolpc22\bake 
103
 
rem net use >> c:\temp.log
104
 
 
105
 
rem copy %DAILY%\*.ZIP s:\bkl-cronjob\archives\win
106
 
rem copy %DAILY%\*.exe s:\bkl-cronjob\archives\win\*.exe
107
 
rem dir s: /od >> c:\temp.log
108
104
 
109
105
echo docs built for %WXW_VER%
110
106
echo docs built for %WXW_VER% >> c:\temp.log