]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/zipwxmac.bat
Added another reference to adding the zip handler.
[wxWidgets.git] / distrib / msw / zipwxmac.bat
CommitLineData
fde719f9
JS
1@echo off
2rem Zip up a wxMac distribution, .zip and .sit
3rem using Inno Setup + ScriptMaker
4set src=%wxwin
5set dest=%src\deliver
6set webfiles=c:\wx2dev\wxWebSite
7set stuffit="c:\Program Files\Aladdin Systems\StuffIt 7.5\StuffIt.exe"
8
9Rem Set this to the required version
10set version=2.3.3
11
12if "%src" == "" goto usage
13if "%dest" == "" goto usage
14if "%1" == "-help" goto usage
15if "%1" == "--help" goto usage
16if "%1" == "/?" goto usage
17echo About to archive an external wxMac distribution:
18echo From %src
19echo To %dest
20echo CTRL-C if this is not correct.
21pause
22
23erase %dest\wxMac*.zip
24erase %dest\wxMac*.sit
25
26if not direxist %dest mkdir %dest
27if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version%
28
29echo Zipping wxMac distribution
30
31cd %src%
32copy %src%\include\wx\mac\setup0.h %src%\include\wx\setup.h
33
34zip32 -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\generic.rsp
35zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\mac.rsp
36zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\cw_mac.rsp
37zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\tiff.rsp
38zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\jpeg.rsp
39zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\utils.rsp
40zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\tex2rtf.rsp
41zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\dialoged.rsp
42zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\ogl.rsp
43zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\xml.rsp
44zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\stc.rsp
45zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\contrib.rsp
46zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\makefile.rsp
47
48erase /Y %src%\include\wx\setup.h
49
50if direxist %dest%\wxWindows-%version% erase /sxyz %dirname%\wxWindows-%version%
51
52mkdir %dest%\wxWindows-%version%
53cd %dest%\wxWindows-%version%
54unzip32 ..\wxMac-%version%.zip
55erase /Y src\gtk\descrip.mms src\motif\descrip.mms docs\pdf\*.pdf
f9ceab7c 56erase /SXY docs\html\dialoged docs\html\tex2rtf
fde719f9 57
f9ceab7c 58cd %dest%
fde719f9 59
f9ceab7c
JS
60erase wxMac-%version%.zip
61zip32 -r wxMac-%version%.zip wxWindows-%version%/*
fde719f9
JS
62
63Rem echo Making StuffIt archive...
64Rem set stuffitcmd=%stuffit% -stuff -create wxMac-%version%.sit wxWindows-%version%\*
65Rem echo Invoking %stuffitcmd...
66Rem start "StuffIt" /w %stuffitcmd%
67
68echo wxMac archived.
69
70goto end
71
72:usage
73echo DOS wxWindows distribution. Zips up wxMac.
74echo.
75echo "Usage: zipwxmac"
76
77:end