]>
Commit | Line | Data |
---|---|---|
1c98149d JS |
1 | @echo off |
2 | Rem Zips up an archive of Mac and generic wxWindows files. | |
3 | set src=%wxwin% | |
4 | set dest=%src%\deliver | |
5 | ||
6 | Rem Set this to the required version | |
7 | set version=2.3.0 | |
8 | ||
9 | if "%src%" == "" goto usage | |
10 | if "%dest%" == "" goto usage | |
11 | if "%1%" == "-help" goto usage | |
12 | if "%1%" == "--help" goto usage | |
13 | if "%1%" == "/?" goto usage | |
14 | echo About to archive a wxMac distribution: | |
15 | echo From %src% | |
16 | echo To %dest% | |
17 | echo CTRL-C if this is not correct. | |
18 | pause | |
19 | ||
20 | erase %dest%\wx*.zip | |
21 | ||
22 | cd %src% | |
23 | echo Zipping... | |
24 | ||
25 | zip -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\generic.rsp | |
26 | zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\mac.rsp | |
27 | zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\cw.rsp | |
28 | zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\tiff.rsp | |
29 | zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\jpeg.rsp | |
30 | zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\tex2rtf.rsp | |
31 | zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\dialoged.rsp | |
32 | zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\ogl.rsp | |
33 | zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\xml.rsp | |
34 | Rem zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\wx_html.rsp | |
35 | ||
36 | cd %dest% |