]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/zipwxos2.bat
Changed colour.cpp to colour.mm
[wxWidgets.git] / distrib / msw / zipwxos2.bat
CommitLineData
f9ceab7c
JS
1@echo off
2rem Zip up a wxOS2 distribution.
3set src=%wxwin
4set dest=%src\deliver
5set webfiles=c:\wx2dev\wxWebSite
6
7Rem Set this to the required version
2b5f62a0 8set version=2.3.4
f9ceab7c
JS
9
10if "%src" == "" goto usage
11if "%dest" == "" goto usage
12if "%1" == "-help" goto usage
13if "%1" == "--help" goto usage
14if "%1" == "/?" goto usage
15echo About to archive an external wxOS2 distribution:
16echo From %src
17echo To %dest
18echo CTRL-C if this is not correct.
19pause
20
21erase %dest\wxOS2*.zip
22
23if not direxist %dest mkdir %dest
24if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version%
25
26echo Zipping wxOS2 distribution
27
28cd %src%
29Rem copy %src%\include\wx\os2\setup0.h %src%\include\wx\setup.h
30
31zip32 -@ %dest\wxOS2-%version%.zip < %src\distrib\msw\generic.rsp
32zip32 -@ -u %dest%\wxOS2-%version%.zip < %src\distrib\msw\os2.rsp
33zip32 -@ -u %dest%\wxOS2-%version%.zip < %src\distrib\msw\jpeg.rsp
34zip32 -@ -u %dest%\wxOS2-%version%.zip < %src\distrib\msw\tiff.rsp
35zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\tiff.rsp
36zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\jpeg.rsp
37zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\utils.rsp
38zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\tex2rtf.rsp
39zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\dialoged.rsp
40zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\ogl.rsp
41zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\xml.rsp
42zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\contrib.rsp
43zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\makefile.rsp
44
45Rem erase /Y %src%\include\wx\setup.h
46
2b5f62a0 47if direxist %dest%\wxOS2-%version% erase /sxyz %dest%\wxOS2-%version%
f9ceab7c 48
2b5f62a0
VZ
49mkdir %dest%\wxOS2-%version%
50cd %dest%\wxOS2-%version%
f9ceab7c 51unzip32 ..\wxOS2-%version%.zip
a165a5dd
JS
52echo Overwriting with OS2-specific versions of configure files...
53unzip32 -o %src%\distrib\os2\os2-specific.zip
f9ceab7c
JS
54erase /Y src\gtk\descrip.mms src\motif\descrip.mms docs\pdf\*.pdf
55erase /Y src\tiff\*.mcp src\jpeg\*.mcp src\png\*.mcp src\zlib\*.mcp
56erase /SXY docs\html\dialoged docs\html\tex2rtf
57
58echo Making files lower case...
59cd src\os2
60call %src%\distrib\msw\lower.bat
61cd ..\..\include\wx\os2
62call %src%\distrib\msw\lower.bat
63
64cd %dest%
65
66erase wxOS2-%version%.zip
2b5f62a0
VZ
67zip32 -r wxOS2-%version%.zip wxOS2-%version%/*
68erase /sxyz wxOS2-%version%
f9ceab7c
JS
69
70echo wxOS2 archived.
71
72goto end
73
74:usage
75echo DOS wxWindows distribution. Zips up wxOS2.
76echo.
77echo "Usage: zipwxos2"
78
79:end