]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/zipwxos2.bat
why the heck was the flag changed to T from Theme?! Broke my makefiles...
[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
8set version=2.3.3
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
47if direxist %dest%\wxWindows-%version% erase /sxyz %dirname%\wxWindows-%version%
48
49mkdir %dest%\wxWindows-%version%
50cd %dest%\wxWindows-%version%
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
67zip32 -r wxOS2-%version%.zip wxWindows-%version%/*
68
69echo wxOS2 archived.
70
71goto end
72
73:usage
74echo DOS wxWindows distribution. Zips up wxOS2.
75echo.
76echo "Usage: zipwxos2"
77
78:end