1999-11-11 10:59:37 +00:00
|
|
|
@echo off
|
|
|
|
rem Zip up a patch file
|
|
|
|
|
2001-12-19 23:32:48 +00:00
|
|
|
if "%wxwin%" == "" goto usage
|
|
|
|
|
|
|
|
set src=%wxwin%
|
|
|
|
set dest=%src%\deliver
|
|
|
|
|
2004-05-23 14:56:36 +00:00
|
|
|
Rem Set this to the required wxWidgets version
|
2002-08-20 11:51:14 +00:00
|
|
|
set wxversion=2.3.3
|
1999-11-11 10:59:37 +00:00
|
|
|
Rem Set this to the required patch version
|
2000-07-15 19:51:35 +00:00
|
|
|
set version=01
|
1999-11-11 10:59:37 +00:00
|
|
|
|
2004-05-23 14:56:36 +00:00
|
|
|
set patchname=wxWidgets-%wxversion%-patch-%version%.zip
|
2001-12-19 23:32:48 +00:00
|
|
|
|
1999-11-11 10:59:37 +00:00
|
|
|
if "%src" == "" goto usage
|
|
|
|
if "%dest" == "" goto usage
|
2001-12-19 23:32:48 +00:00
|
|
|
echo About to create %dest%\%patchname%
|
1999-11-11 10:59:37 +00:00
|
|
|
echo From %src
|
|
|
|
echo To %dest
|
|
|
|
echo CTRL-C if this is not correct.
|
|
|
|
pause
|
|
|
|
|
2004-05-23 14:56:36 +00:00
|
|
|
erase /Q /E %dest%\wxWidgets-*-patch*.zip
|
1999-11-11 10:59:37 +00:00
|
|
|
|
2001-12-19 23:32:48 +00:00
|
|
|
cd %src%
|
1999-11-11 10:59:37 +00:00
|
|
|
echo Zipping...
|
|
|
|
|
2001-12-19 23:32:48 +00:00
|
|
|
zip32 -@ %dest%\%patchname% < %src%\distrib\msw\patch.rsp
|
2004-05-23 14:56:36 +00:00
|
|
|
echo wxWidgets patch archived.
|
1999-11-11 10:59:37 +00:00
|
|
|
|
|
|
|
cd %dest
|
|
|
|
|
|
|
|
goto end
|
|
|
|
|
|
|
|
:usage
|
2004-05-23 14:56:36 +00:00
|
|
|
echo wxWidgets patch distribution.
|
1999-11-11 10:59:37 +00:00
|
|
|
echo.
|
|
|
|
echo Usage: zippatch
|
2001-12-19 23:32:48 +00:00
|
|
|
echo You must set WXWIN appropriately before calling this script.
|
1999-11-11 10:59:37 +00:00
|
|
|
|
|
|
|
:end
|