]>
Commit | Line | Data |
---|---|---|
457814b5 JS |
1 | @echo off |
2 | rem Zip up an external, generic + Windows distribution of wxWindows 2.0 | |
3 | if "%1" == "" goto usage | |
4 | if "%2" == "" goto usage | |
5 | echo About to archive an external wxWindows distribution: | |
6 | echo From %1 | |
7 | echo To %2\wx200gen.zip, %2\wx200doc.zip, %2\wx200msw.zip, %2\wx200ps.zip, %2\wx200hlp.zip, %2\wx200htm.zip, %2\wx200pdf.zip | |
8 | echo CTRL-C if this is not correct. | |
9 | pause | |
10 | ||
11 | erase %2\wx200*.zip | |
12 | ||
13 | cd %1 | |
14 | echo Zipping... | |
15 | zip32 -@ %2\wx200gen.zip < %1\distrib\generic.rsp | |
16 | zip32 -@ %2\wx200msw.zip < %1\distrib\msw.rsp | |
17 | zip32 -@ %2\wx200doc.zip < %1\distrib\docsrc.rsp | |
18 | ||
19 | rem zip32 -@ %2\wx200ps.zip < %1\distrib\wx_ps.rsp | |
20 | zip32 -@ %2\wx200hlp.zip < %1\distrib\wx_hlp.rsp | |
21 | zip32 -@ %2\wx200htm.zip < %1\distrib\wx_html.rsp | |
22 | zip32 -@ %2\wx200pdf.zip < %1\distrib\wx_pdf.rsp | |
23 | ||
24 | cd %2 | |
25 | ||
26 | echo wxWindows archived. | |
27 | goto end | |
28 | ||
29 | :usage | |
30 | echo DOS wxWindows distribution. | |
31 | echo Usage: zipdistgeneric source destination | |
32 | echo e.g. zipdistgeneric c:\wx b: | |
33 | ||
34 | :end |