]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/zippatch.bat
Fix from Mumit Khan to allow mingw DLL compilation, v.2 :-)
[wxWidgets.git] / distrib / msw / zippatch.bat
1 @echo off
2 rem Zip up a patch file
3 Rem m:\wx2 contains the latest version + any crucial patches
4 set src=m:\wx2
5 set dest=%wxwin\deliver
6 set wise=0
7
8 Rem Set this to the required patch version
9 set version=03
10
11 if "%src" == "" goto usage
12 if "%dest" == "" goto usage
13 echo About to archive patch%version%.zip
14 echo From %src
15 echo To %dest
16 if "%wise" == "1" echo with WISE setup creation.
17 echo CTRL-C if this is not correct.
18 pause
19
20 erase %dest\patch*.zip
21
22 cd %src
23 echo Zipping...
24
25 zip32 -@ %dest\patch%version%.zip < %wxwin\distrib\msw\patch.rsp
26 echo wxWindows patch archived.
27
28 cd %dest
29
30 goto end
31
32 :usage
33 echo DOS wxWindows patch distribution.
34 echo.
35 echo Usage: zippatch
36
37 :end