]>
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 -@ -u %dest\wx200gen.zip < %src\distrib\msw\makefile.rsp | |
24 | zip32 -@ %dest\wx200msw.zip < %src\distrib\msw\msw.rsp | |
25 | zip32 -@ -u %dest\wx200msw.zip < %src\distrib\msw\makefile.rsp | |
26 | zip32 -@ %dest\wx200gtk.zip < %src\distrib\msw\gtk.rsp | |
27 | zip32 -@ -u %dest\wx200gtk.zip < %src\distrib\msw\makefile.rsp | |
28 | zip32 -@ %dest\wx200stubs.zip < %src\distrib\msw\stubs.rsp | |
29 | zip32 -@ %dest\wx200mot.zip < %src\distrib\msw\motif.rsp | |
30 | zip32 -@ -u %dest\wx200mot.zip < %src\distrib\msw\makefile.rsp | |
31 | zip32 -@ %dest\wx200user.zip < %src\distrib\msw\user.rsp | |
32 | ||
33 | zip32 -@ %dest\wx200doc.zip < %src\distrib\msw\docsrc.rsp | |
34 | zip32 -@ %dest\wx200hlp.zip < %src\distrib\msw\wx_hlp.rsp | |
35 | zip32 -@ %dest\wx200htm.zip < %src\distrib\msw\wx_html.rsp | |
36 | zip32 -@ %dest\wx200pdf.zip < %src\distrib\msw\wx_pdf.rsp | |
37 | zip32 -@ %dest\wx200wrd.zip < %src\distrib\msw\wx_word.rsp | |
38 | ||
39 | rem VC++ project files | |
40 | zip32 -@ %dest\wx200vc.zip < %src\distrib\msw\vc.rsp | |
41 | ||
42 | rem BC++ project files | |
43 | zip32 -@ %dest\wx200bc.zip < %src\distrib\msw\bc.rsp | |
44 | ||
45 | rem CodeWarrior project files | |
46 | zip32 -@ %dest\wx200cw.zip < %src\distrib\msw\cw.rsp | |
47 | ||
48 | rem OGL 3 | |
49 | zip32 -@ %dest\ogl3.zip < %src\distrib\msw\ogl.rsp | |
50 | ||
51 | rem GLCanvas | |
52 | zip32 -@ %dest\glcanvas.zip < %src\distrib\msw\glcanvas.rsp | |
53 | ||
54 | rem Tex2RTF | |
55 | zip32 -@ %dest\tex2rtf2.zip < %src\distrib\msw\tex2rtf.rsp | |
56 | ||
57 | rem wxTreeLayout | |
58 | zip32 -@ %dest\treedraw.zip < %src\distrib\msw\wxtree.rsp | |
59 | ||
60 | rem JPEG source | |
61 | zip32 -@ %dest\jpeg.zip < %src\distrib\msw\jpeg.rsp | |
62 | ||
63 | copy %src\docs\changes.txt %dest | |
64 | copy %src\docs\msw\install.txt %dest\install_msw.txt | |
65 | copy %src\docs\motif\install.txt %dest\install_motif.txt | |
66 | copy %src\docs\gtk\install.txt %dest\install_gtk.txt | |
67 | copy %src\docs\readme.txt %dest | |
68 | copy %src\docs\motif\makewxmotif %dest | |
69 | copy %src\docs\gtk\makewxgtk %dest | |
70 | ||
71 | cd %dest | |
72 | ||
73 | echo wxWindows archived. | |
74 | goto end | |
75 | ||
76 | :usage | |
77 | echo DOS wxWindows distribution. | |
78 | echo Usage: zipdist source destination | |
79 | echo e.g. zipdist d:\wx2\wxWindows d:\wx2\wxWindows\deliver | |
80 | ||
81 | :end |