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