2 rem Zip up a wxOS2 distribution.
5 set webfiles
=c
:\wx2dev\wxWebSite
7 Rem Set this to the required version
10 if "%src" == "" goto usage
11 if "%dest" == "" goto usage
12 if "%1" == "-help" goto usage
13 if "%1" == "--help" goto usage
14 if "%1" == "/?" goto usage
15 echo About to archive an external wxOS2 distribution
:
18 echo CTRL
-C
if this is
not correct.
21 erase %dest\wxOS2
*.zip
23 if not direxist
%dest
mkdir %dest
24 if direxist
%dest%\wxWindows
-%version% erase /sxyz
%dest%\wxWindows
-%version%
26 echo Zipping wxOS2 distribution
29 Rem copy %src%\include\wx\os2\setup0.h %src%\include\wx\setup.h
31 zip32
-@
%dest\wxOS2
-%version%.zip
< %src\distrib\msw\generic.rsp
32 zip32
-@
-u
%dest%\wxOS2
-%version%.zip
< %src\distrib\msw\os2.rsp
33 zip32
-@
-u
%dest%\wxOS2
-%version%.zip
< %src\distrib\msw\jpeg.rsp
34 zip32
-@
-u
%dest%\wxOS2
-%version%.zip
< %src\distrib\msw
\tiff.rsp
35 zip32
-u
-@
%dest%\wxOS2
-%version%.zip
< %src%\distrib\msw
\tiff.rsp
36 zip32
-u
-@
%dest%\wxOS2
-%version%.zip
< %src%\distrib\msw\jpeg.rsp
37 zip32
-u
-@
%dest%\wxOS2
-%version%.zip
< %src%\distrib\msw\utils.rsp
38 zip32
-u
-@
%dest%\wxOS2
-%version%.zip
< %src%\distrib\msw
\tex
2rtf.rsp
39 zip32
-u
-@
%dest%\wxOS2
-%version%.zip
< %src%\distrib\msw\dialoged.rsp
40 zip32
-u
-@
%dest%\wxOS2
-%version%.zip
< %src%\distrib\msw\ogl.rsp
41 zip32
-u
-@
%dest%\wxOS2
-%version%.zip
< %src%\distrib\msw\xml.rsp
42 zip32
-u
-@
%dest%\wxOS2
-%version%.zip
< %src%\distrib\msw\contrib.rsp
43 zip32
-u
-@
%dest%\wxOS2
-%version%.zip
< %src%\distrib\msw\makefile.rsp
45 Rem erase /Y %src%\include\wx\setup.h
47 if direxist
%dest%\wxWindows
-%version% erase /sxyz
%dirname%\wxWindows
-%version%
49 mkdir %dest%\wxWindows
-%version%
50 cd %dest%\wxWindows
-%version%
51 unzip32 ..\wxOS2
-%version%.zip
52 echo Overwriting with OS2
-specific versions of configure
files...
53 unzip32
-o
%src%\distrib\os2\os2
-specific.zip
54 erase /Y src\gtk\descrip.mms src\motif\descrip.mms docs\pdf\
*.pdf
55 erase /Y src
\tiff\
*.mcp src\jpeg\
*.mcp src\png\
*.mcp src\zlib\
*.mcp
56 erase /SXY docs\html\dialoged docs\html
\tex
2rtf
58 echo Making
files lower case...
60 call %src%\distrib\msw\lower.bat
61 cd ..\..\include\wx\os2
62 call %src%\distrib\msw\lower.bat
66 erase wxOS2
-%version%.zip
67 zip32
-r wxOS2
-%version%.zip wxWindows
-%version%/*
74 echo DOS wxWindows distribution. Zips up wxOS2.
76 echo "Usage: zipwxos2"