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
|
|
|
|
|
|
|
|
Rem Set this to the required wxWindows 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
|
|
|
|
2001-12-19 18:32:48 -05:00
|
|
|
set patchname=wxWindows-%wxversion%-patch-%version%.zip
|
|
|
|
|
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
|
|
|
|
|
2001-12-19 18:32:48 -05:00
|
|
|
erase /Q /E %dest%\wxWindows-*-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
|
1999-11-11 05:59:37 -05:00
|
|
|
echo wxWindows patch archived.
|
|
|
|
|
|
|
|
cd %dest
|
|
|
|
|
|
|
|
goto end
|
|
|
|
|
|
|
|
:usage
|
2001-12-19 18:32:48 -05:00
|
|
|
echo wxWindows 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
|