]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/rearchive.bat
Added slider.h/slider.mm to wxCocoa build
[wxWidgets.git] / distrib / msw / rearchive.bat
CommitLineData
e492150d
JS
1@echo off
2rem Convert a zip archive to one rooted at a particular directory.
3rem This script is used by zipdistinno.bat.
4
5set archive=%1
6set dirname=%2
7set changeto=%3
8
9if "%archive%" == "" goto usage
10if "%dirname%" == "" goto usage
11if "%1" == "-help" goto usage
12if "%1" == "--help" goto usage
13if "%1" == "/?" goto usage
14
15pushd %changeto%
16
17if direxist %dirname% erase /sxyz %dirname%
18mkdir %dirname%
19cd %dirname%
20unzip32 ..\%archive%
21cd ..
22erase %archive%
23zip32 -r %archive% %dirname%/*
24
25popd
26
27goto end
28
29:usage
30echo rearchive archive.zip dir changetodir
31echo E.g. rearchive wxWindows-2.3.3-html.zip wxWindows-2.3.3 c:\wx2dev\wxWindows\deliver
32
33:end