]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/zipmac.bat
Menu corruption fix
[wxWidgets.git] / distrib / msw / zipmac.bat
1 @echo off
2 Rem Zips up an archive of Mac and generic wxWindows files.
3 Rem Produces wxMac-ver.zip, wxWindows-ver-HTML.zip
4 set src=%wxwin%
5 set dest=%src%\deliver
6
7 Rem Set this to the required version
8 set version=2.3.1
9
10 if "%src%" == "" goto usage
11 if "%dest%" == "" goto usage
12 if "%1%" == "-help" goto usage
13 if "%1%" == "--help" goto usage
14 if "%1%" == "/?" goto usage
15 echo About to archive a wxMac distribution:
16 echo From %src%
17 echo To %dest%
18 echo CTRL-C if this is not correct.
19 pause
20
21 erase %dest%\wx*.zip
22
23 cd %src%
24 echo Zipping...
25
26 zip -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\generic.rsp
27 zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\mac.rsp
28 zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\makefile.rsp
29 zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\cw.rsp
30 zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\tiff.rsp
31 zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\jpeg.rsp
32 zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\tex2rtf.rsp
33 zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\dialoged.rsp
34 zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\ogl.rsp
35 zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\xml.rsp
36
37 zip -@ %dest%\wxWindows-%version%-HTML.zip < %src%\distrib\msw\wx_html.rsp
38
39 cd %dest%