]>
Commit | Line | Data |
---|---|---|
457814b5 JS |
1 | @echo off |
2 | rem Zip up an external, generic + Windows distribution of wxWindows 2.0 | |
bbcdf8bc JS |
3 | set src=d:\wx2\wxWindows |
4 | set dest=%src\deliver | |
5 | if "%src" == "" goto usage | |
6 | if "%dest" == "" goto usage | |
457814b5 | 7 | echo About to archive an external wxWindows distribution: |
bbcdf8bc JS |
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 | |
457814b5 JS |
10 | echo CTRL-C if this is not correct. |
11 | pause | |
12 | ||
bbcdf8bc | 13 | erase %dest\wx200*.zip |
457814b5 | 14 | |
bbcdf8bc | 15 | cd %src |
457814b5 | 16 | echo Zipping... |
bbcdf8bc JS |
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 | |
457814b5 | 21 | |
bbcdf8bc JS |
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 | |
457814b5 | 25 | |
bbcdf8bc | 26 | cd %dest |
457814b5 JS |
27 | |
28 | echo wxWindows archived. | |
29 | goto end | |
30 | ||
31 | :usage | |
32 | echo DOS wxWindows distribution. | |
884360bc JS |
33 | echo Usage: zipdist source destination |
34 | echo e.g. zipdist d:\wx2\wxWindows d:\wx2\wxWindows\deliver | |
457814b5 JS |
35 | |
36 | :end |