Patch mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
|
docs/univ/readme.txt
|
||||||
|
docs/univ/porting.txt
|
||||||
|
@@ -1,26 +1,32 @@
|
|||||||
@echo off
|
@echo off
|
||||||
rem Zip up a patch file
|
rem Zip up a patch file
|
||||||
set src=d:\wx2\wxWindows
|
|
||||||
set dest=%wxwin\deliver
|
|
||||||
|
|
||||||
|
if "%wxwin%" == "" goto usage
|
||||||
|
|
||||||
|
set src=%wxwin%
|
||||||
|
set dest=%src%\deliver
|
||||||
|
|
||||||
|
Rem Set this to the required wxWindows version
|
||||||
|
set wxversion=2.3.2
|
||||||
Rem Set this to the required patch version
|
Rem Set this to the required patch version
|
||||||
set version=01
|
set version=01
|
||||||
|
|
||||||
|
set patchname=wxWindows-%wxversion%-patch-%version%.zip
|
||||||
|
|
||||||
if "%src" == "" goto usage
|
if "%src" == "" goto usage
|
||||||
if "%dest" == "" goto usage
|
if "%dest" == "" goto usage
|
||||||
echo About to archive patch%version%.zip
|
echo About to create %dest%\%patchname%
|
||||||
echo From %src
|
echo From %src
|
||||||
echo To %dest
|
echo To %dest
|
||||||
if "%wise" == "1" echo with WISE setup creation.
|
|
||||||
echo CTRL-C if this is not correct.
|
echo CTRL-C if this is not correct.
|
||||||
pause
|
pause
|
||||||
|
|
||||||
erase %dest\patch*.zip
|
erase /Q /E %dest%\wxWindows-*-patch*.zip
|
||||||
|
|
||||||
cd %src
|
cd %src%
|
||||||
echo Zipping...
|
echo Zipping...
|
||||||
|
|
||||||
zip32 -@ %dest\patch%version%.zip < %wxwin\distrib\msw\patch.rsp
|
zip32 -@ %dest%\%patchname% < %src%\distrib\msw\patch.rsp
|
||||||
echo wxWindows patch archived.
|
echo wxWindows patch archived.
|
||||||
|
|
||||||
cd %dest
|
cd %dest
|
||||||
@@ -28,8 +34,9 @@ cd %dest
|
|||||||
goto end
|
goto end
|
||||||
|
|
||||||
:usage
|
:usage
|
||||||
echo DOS wxWindows patch distribution.
|
echo wxWindows patch distribution.
|
||||||
echo.
|
echo.
|
||||||
echo Usage: zippatch
|
echo Usage: zippatch
|
||||||
|
echo You must set WXWIN appropriately before calling this script.
|
||||||
|
|
||||||
:end
|
:end
|
||||||
|
Reference in New Issue
Block a user