]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/msw/zipwxmac.bat
use MoreFilesX instead of MoreFiles when building with Apple Developer Tools
[wxWidgets.git] / distrib / msw / zipwxmac.bat
... / ...
CommitLineData
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.4
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%\wxMac-%version% erase /sxyz %dest%\wxMac-%version%
51
52mkdir %dest%\wxMac-%version%
53cd %dest%\wxMac-%version%
54unzip32 ..\wxMac-%version%.zip
55erase /Y src\gtk\descrip.mms src\motif\descrip.mms docs\pdf\*.pdf
56erase /SXY docs\html\dialoged docs\html\tex2rtf
57
58cd %dest%
59
60erase wxMac-%version%.zip
61zip32 -r wxMac-%version%.zip wxMac-%version%/*
62
63erase /sxyz %dest%\wxMac-%version%
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