2 rem Zip up a wxMac distribution, .zip and .sit
3 rem using Inno Setup + ScriptMaker
6 set webfiles
=c
:\wx2dev\wxWebSite
7 set stuffit
="c:\Program Files\Aladdin Systems\StuffIt 7.5\StuffIt.exe"
9 Rem Set this to the required version
12 if "%src" == "" goto usage
13 if "%dest" == "" goto usage
14 if "%1" == "-help" goto usage
15 if "%1" == "--help" goto usage
16 if "%1" == "/?" goto usage
17 echo About to archive an external wxMac distribution
:
20 echo CTRL
-C
if this is
not correct.
23 erase %dest\wxMac
*.zip
24 erase %dest\wxMac
*.sit
26 if not direxist
%dest
mkdir %dest
27 if direxist
%dest%\wxWindows
-%version% erase /sxyz
%dest%\wxWindows
-%version%
29 echo Zipping wxMac distribution
32 copy %src%\include\wx\mac\setup0.h
%src%\include\wx\setup.h
34 zip32
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw\generic.rsp
35 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw\mac.rsp
36 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw\cw_mac.rsp
37 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw
\tiff.rsp
38 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw\jpeg.rsp
39 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw\utils.rsp
40 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw
\tex
2rtf.rsp
41 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw\dialoged.rsp
42 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw\ogl.rsp
43 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw\xml.rsp
44 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw\stc.rsp
45 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw\contrib.rsp
46 zip32
-u
-@
%dest%\wxMac
-%version%.zip
< %src%\distrib\msw\makefile.rsp
48 erase /Y
%src%\include\wx\setup.h
50 if direxist
%dest%\wxWindows
-%version% erase /sxyz
%dirname%\wxWindows
-%version%
52 mkdir %dest%\wxWindows
-%version%
53 cd %dest%\wxWindows
-%version%
54 unzip32 ..\wxMac
-%version%.zip
55 erase /Y src\gtk\descrip.mms src\motif\descrip.mms docs\pdf\
*.pdf
56 erase /SXY docs\html\dialoged docs\html
\tex
2rtf
60 erase wxMac
-%version%.zip
61 zip32
-r wxMac
-%version%.zip wxWindows
-%version%/*
63 Rem echo Making StuffIt archive...
64 Rem set stuffitcmd=%stuffit% -stuff -create wxMac-%version%.sit wxWindows-%version%\*
65 Rem echo Invoking %stuffitcmd...
66 Rem start "StuffIt" /w %stuffitcmd%
73 echo DOS wxWindows distribution. Zips up wxMac.
75 echo "Usage: zipwxmac"