]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/msw/zipdist.bat
added appcmn.cpp to the list of files
[wxWidgets.git] / distrib / msw / zipdist.bat
... / ...
CommitLineData
1@echo off
2rem Zip up an external, generic + Windows distribution of wxWindows 2.0
3set src=%wxwin
4set dest=%src\deliver
5if "%src" == "" goto usage
6if "%dest" == "" goto usage
7echo About to archive an external wxWindows distribution:
8echo From %src
9echo To %dest
10echo CTRL-C if this is not correct.
11pause
12
13rem goto dounzip
14
15erase %dest\wx200*.zip
16erase %dest\glcanvas.zip
17erase %dest\ogl3.zip
18erase %dest\tex2rtf2.zip
19erase %dest\jpeg.zip
20
21if direxist %dest\wx deltree /Y %dest\wx
22
23cd %src
24echo Zipping...
25
26zip32 -@ %dest\wx200gen.zip < %src\distrib\msw\generic.rsp
27zip32 -@ -u %dest\wx200gen.zip < %src\distrib\msw\makefile.rsp
28zip32 -@ %dest\wx200msw.zip < %src\distrib\msw\msw.rsp
29zip32 -@ -u %dest\wx200msw.zip < %src\distrib\msw\makefile.rsp
30zip32 -@ %dest\wx200gtk.zip < %src\distrib\msw\gtk.rsp
31zip32 -@ -u %dest\wx200gtk.zip < %src\distrib\msw\makefile.rsp
32zip32 -@ %dest\wx200stubs.zip < %src\distrib\msw\stubs.rsp
33zip32 -@ %dest\wx200mot.zip < %src\distrib\msw\motif.rsp
34zip32 -@ -u %dest\wx200mot.zip < %src\distrib\msw\makefile.rsp
35zip32 -@ %dest\wx200user.zip < %src\distrib\msw\user.rsp
36
37zip32 -@ %dest\wx200doc.zip < %src\distrib\msw\docsrc.rsp
38zip32 -@ %dest\wx200hlp.zip < %src\distrib\msw\wx_hlp.rsp
39zip32 -@ %dest\wx200htm.zip < %src\distrib\msw\wx_html.rsp
40zip32 -@ %dest\wx200pdf.zip < %src\distrib\msw\wx_pdf.rsp
41zip32 -@ %dest\wx200wrd.zip < %src\distrib\msw\wx_word.rsp
42
43rem VC++ project files
44zip32 -@ %dest\wx200vc.zip < %src\distrib\msw\vc.rsp
45
46rem BC++ project files
47zip32 -@ %dest\wx200bc.zip < %src\distrib\msw\bc.rsp
48
49rem CodeWarrior project files
50zip32 -@ %dest\wx200cw.zip < %src\distrib\msw\cw.rsp
51
52rem OGL 3
53zip32 -@ %dest\ogl3.zip < %src\distrib\msw\ogl.rsp
54
55rem GLCanvas
56zip32 -@ %dest\glcanvas.zip < %src\distrib\msw\glcanvas.rsp
57
58rem Tex2RTF
59zip32 -@ %dest\tex2rtf2.zip < %src\distrib\msw\tex2rtf.rsp
60
61rem wxTreeLayout
62zip32 -@ %dest\treedraw.zip < %src\distrib\msw\wxtree.rsp
63
64rem JPEG source
65zip32 -@ %dest\jpeg.zip < %src\distrib\msw\jpeg.rsp
66
67copy %src\docs\changes.txt %dest
68copy %src\docs\msw\install.txt %dest\install_msw.txt
69copy %src\docs\motif\install.txt %dest\install_motif.txt
70copy %src\docs\gtk\install.txt %dest\install_gtk.txt
71copy %src\docs\readme.txt %dest
72copy %src\docs\motif\makewxmotif %dest
73copy %src\docs\gtk\makewxgtk %dest
74
75:dounzip
76
77cd %dest
78
79rem Unzip the Windows files into 'wx'
80mkdir %dest\wx
81
82Rem After this change of directory, we're in the
83Rem temporary 'wx' directory and not acting on
84Rem the source wxWindows directory.
85cd %dest\wx
86unzip32 -o ..\wx200msw.zip
87unzip32 -o ..\wx200gen.zip
88unzip32 -o ..\wx200vc.zip
89unzip32 -o ..\wx200hlp.zip
90unzip32 -o ..\glcanvas.zip
91unzip32 -o ..\treedraw.zip
92unzip32 -o ..\ogl3.zip
93unzip32 -o ..\jpeg.zip
94
95rem unzip32 -o ..\wx200doc.zip
96rem unzip32 -o ..\wx200bc.zip
97rem unzip32 -o ..\wx200cw.zip
98
99rem Now delete a few files that are unnecessary
100erase /Y *.in *.spec *.guess *.sub mkinstalldirs modules install-sh *.sh
101erase /SY Makefile.in
102erase /Y docs\pdf\ogl.pdf
103deltree /Y docs\html\ogl
104
105rem Now copy some binary files to 'bin'
106if not isdir bin mkdir bin
107copy %src\bin\dialoged.exe bin
108copy %src\docs\winhelp\dialoged.hlp %src\docs\winhelp\dialoged.cnt bin
109
110rem Time to regenerate the WISE install script, wxwin2.wse.
111rem NB: if you've changed wxwin2.wse using WISE, call splitwise.exe
112rem from within distrib\msw, to split off wisetop.txt and wisebott.txt.
113echo Calling 'makewise' to generate wxwin2.wse...
114call %WXWIN\distrib\msw\makewise.bat
115
116rem Now invoke WISE install on the new wxwin2.wse
117set wisecmd="c:\Program Files\wise\wise32.exe" /C %WXWIN\distrib\msw\wxwin2.wse
118echo Invoking %wisecmd...
119start /w %wisecmd
120
121cd %dest
122
123echo wxWindows archived.
124goto end
125
126:usage
127echo DOS wxWindows distribution.
128echo Usage: zipdist source destination
129echo e.g. zipdist d:\wx2\wxWindows d:\wx2\wxWindows\deliver
130
131:end