]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/zipwxmac.bat
use MoreFilesX instead of MoreFiles when building with Apple Developer Tools
[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
2b5f62a0 10set version=2.3.4
fde719f9
JS
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
2b5f62a0 50if direxist %dest%\wxMac-%version% erase /sxyz %dest%\wxMac-%version%
fde719f9 51
2b5f62a0
VZ
52mkdir %dest%\wxMac-%version%
53cd %dest%\wxMac-%version%
fde719f9
JS
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 60erase wxMac-%version%.zip
2b5f62a0
VZ
61zip32 -r wxMac-%version%.zip wxMac-%version%/*
62
63erase /sxyz %dest%\wxMac-%version%
fde719f9
JS
64
65Rem echo Making StuffIt archive...
66Rem set stuffitcmd=%stuffit% -stuff -create wxMac-%version%.sit wxWindows-%version%\*
67Rem echo Invoking %stuffitcmd...
68Rem start "StuffIt" /w %stuffitcmd%
69
70echo wxMac archived.
71
72goto end
73
74:usage
75echo DOS wxWindows distribution. Zips up wxMac.
76echo.
77echo "Usage: zipwxmac"
78
79:end