]>
Commit | Line | Data |
---|---|---|
1 | @echo off | |
2 | rem Zip up an external, generic + Windows distribution of wxWindows 2.0 | |
3 | set src=%wxwin | |
4 | set dest=%src\deliver | |
5 | if "%src" == "" goto usage | |
6 | if "%dest" == "" goto usage | |
7 | echo About to archive an external wxWindows distribution: | |
8 | echo From %src | |
9 | echo To %dest | |
10 | echo CTRL-C if this is not correct. | |
11 | pause | |
12 | ||
13 | erase %dest\wx200*.zip | |
14 | erase %dest\glcanvas.zip | |
15 | erase %dest\ogl3.zip | |
16 | erase %dest\tex2rtf2.zip | |
17 | erase %dest\jpeg.zip | |
18 | ||
19 | cd %src | |
20 | echo Zipping... | |
21 | ||
22 | zip32 -@ %dest\wx200gen.zip < %src\distrib\msw\generic.rsp | |
23 | zip32 -@ %dest\wx200msw.zip < %src\distrib\msw\msw.rsp | |
24 | zip32 -@ %dest\wx200gtk.zip < %src\distrib\msw\gtk.rsp | |
25 | zip32 -@ %dest\wx200stubs.zip < %src\distrib\msw\stubs.rsp | |
26 | zip32 -@ %dest\wx200mot.zip < %src\distrib\msw\motif.rsp | |
27 | zip32 -@ %dest\wx200user.zip < %src\distrib\msw\user.rsp | |
28 | ||
29 | zip32 -@ %dest\wx200doc.zip < %src\distrib\msw\docsrc.rsp | |
30 | zip32 -@ %dest\wx200hlp.zip < %src\distrib\msw\wx_hlp.rsp | |
31 | zip32 -@ %dest\wx200htm.zip < %src\distrib\msw\wx_html.rsp | |
32 | zip32 -@ %dest\wx200pdf.zip < %src\distrib\msw\wx_pdf.rsp | |
33 | zip32 -@ %dest\wx200wrd.zip < %src\distrib\msw\wx_word.rsp | |
34 | ||
35 | rem VC++ project files | |
36 | zip32 -@ %dest\wx200vc.zip < %src\distrib\msw\vc.rsp | |
37 | ||
38 | rem BC++ project files | |
39 | zip32 -@ %dest\wx200bc.zip < %src\distrib\msw\bc.rsp | |
40 | ||
41 | rem CodeWarrior project files | |
42 | zip32 -@ %dest\wx200cw.zip < %src\distrib\msw\cw.rsp | |
43 | ||
44 | rem OGL 3 | |
45 | zip32 -@ %dest\ogl3.zip < %src\distrib\msw\ogl.rsp | |
46 | ||
47 | rem GLCanvas | |
48 | zip32 -@ %dest\glcanvas.zip < %src\distrib\msw\glcanvas.rsp | |
49 | ||
50 | rem Tex2RTF | |
51 | zip32 -@ %dest\tex2rtf2.zip < %src\distrib\msw\tex2rtf.rsp | |
52 | ||
53 | rem wxTreeLayout | |
54 | zip32 -@ %dest\treedraw.zip < %src\distrib\msw\wxtree.rsp | |
55 | ||
56 | rem JPEG source | |
57 | zip32 -@ %dest\jpeg.zip < %src\distrib\msw\jpeg.rsp | |
58 | ||
59 | copy %src\docs\changes.txt %dest | |
60 | copy %src\docs\msw\install.txt %dest\install_msw.txt | |
61 | copy %src\docs\motif\install.txt %dest\install_motif.txt | |
62 | copy %src\docs\gtk\install.txt %dest\install_gtk.txt | |
63 | copy %src\docs\readme.txt %dest | |
64 | copy %src\docs\motif\makewxmotif %dest | |
65 | copy %src\docs\gtk\makewxgtk %dest | |
66 | ||
67 | cd %dest | |
68 | ||
69 | echo wxWindows archived. | |
70 | goto end | |
71 | ||
72 | :usage | |
73 | echo DOS wxWindows distribution. | |
74 | echo Usage: zipdist source destination | |
75 | echo e.g. zipdist d:\wx2\wxWindows d:\wx2\wxWindows\deliver | |
76 | ||
77 | :end |