]>
Commit | Line | Data |
---|---|---|
1 | @echo off | |
2 | rem Zip up an external, generic + Windows distribution of wxWindows 2.0 | |
3 | set src=d:\wx2\wxWindows | |
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\wx200gen.zip, %dest\wx200doc.zip, %dest\wx200msw.zip, %dest\wx200ps.zip, %dest\wx200hlp.zip, %dest\wx200htm.zip, %dest\wx200pdf.zip | |
10 | echo CTRL-C if this is not correct. | |
11 | pause | |
12 | ||
13 | erase %dest\wx200*.zip | |
14 | ||
15 | cd %src | |
16 | echo Zipping... | |
17 | zip32 -@ %dest\wx200gen.zip < %src\distrib\msw\generic.rsp | |
18 | zip32 -@ %dest\wx200msw.zip < %src\distrib\msw\msw.rsp | |
19 | zip32 -@ %dest\wx200gtk.zip < %src\distrib\msw\gtk.rsp | |
20 | zip32 -@ %dest\wx200doc.zip < %src\distrib\msw\docsrc.rsp | |
21 | ||
22 | zip32 -@ %dest\wx200hlp.zip < %src\distrib\msw\wx_hlp.rsp | |
23 | zip32 -@ %dest\wx200htm.zip < %src\distrib\msw\wx_html.rsp | |
24 | zip32 -@ %dest\wx200pdf.zip < %src\distrib\msw\wx_pdf.rsp | |
25 | ||
26 | cd %dest | |
27 | ||
28 | echo wxWindows archived. | |
29 | goto end | |
30 | ||
31 | :usage | |
32 | echo DOS wxWindows distribution. | |
33 | echo Usage: zipdist source destination | |
34 | echo e.g. zipdist d:\wx2\wxWindows d:\wx2\wxWindows\deliver | |
35 | ||
36 | :end |