]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/zippatch.bat
compilation fix
[wxWidgets.git] / distrib / msw / zippatch.bat
1 @echo off
2 rem Zip up a patch file
3
4 if "%wxwin%" == "" goto usage
5
6 set src=%wxwin%
7 set dest=%src%\deliver
8
9 Rem Set this to the required wxWidgets version
10 set wxversion=2.3.3
11 Rem Set this to the required patch version
12 set version=01
13
14 set patchname=wxWidgets-%wxversion%-patch-%version%.zip
15
16 if "%src" == "" goto usage
17 if "%dest" == "" goto usage
18 echo About to create %dest%\%patchname%
19 echo From %src
20 echo To %dest
21 echo CTRL-C if this is not correct.
22 pause
23
24 erase /Q /E %dest%\wxWidgets-*-patch*.zip
25
26 cd %src%
27 echo Zipping...
28
29 zip32 -@ %dest%\%patchname% < %src%\distrib\msw\patch.rsp
30 echo wxWidgets patch archived.
31
32 cd %dest
33
34 goto end
35
36 :usage
37 echo wxWidgets patch distribution.
38 echo.
39 echo Usage: zippatch
40 echo You must set WXWIN appropriately before calling this script.
41
42 :end