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