2001-05-04 06:31:08 -04:00
|
|
|
@echo off
|
|
|
|
Rem Zips up an archive of Mac and generic wxWindows files.
|
2001-05-04 10:50:17 -04:00
|
|
|
Rem Produces wxMac-ver.zip, wxWindows-ver-HTML.zip
|
2001-05-04 06:31:08 -04:00
|
|
|
set src=%wxwin%
|
|
|
|
set dest=%src%\deliver
|
|
|
|
|
|
|
|
Rem Set this to the required version
|
|
|
|
set version=2.3.0
|
|
|
|
|
|
|
|
if "%src%" == "" goto usage
|
|
|
|
if "%dest%" == "" goto usage
|
|
|
|
if "%1%" == "-help" goto usage
|
|
|
|
if "%1%" == "--help" goto usage
|
|
|
|
if "%1%" == "/?" goto usage
|
|
|
|
echo About to archive a wxMac distribution:
|
|
|
|
echo From %src%
|
|
|
|
echo To %dest%
|
|
|
|
echo CTRL-C if this is not correct.
|
|
|
|
pause
|
|
|
|
|
|
|
|
erase %dest%\wx*.zip
|
|
|
|
|
|
|
|
cd %src%
|
|
|
|
echo Zipping...
|
|
|
|
|
|
|
|
zip -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\generic.rsp
|
|
|
|
zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\mac.rsp
|
|
|
|
zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\cw.rsp
|
|
|
|
zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\tiff.rsp
|
|
|
|
zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\jpeg.rsp
|
|
|
|
zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\tex2rtf.rsp
|
|
|
|
zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\dialoged.rsp
|
|
|
|
zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\ogl.rsp
|
|
|
|
zip -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\xml.rsp
|
2001-05-04 10:50:17 -04:00
|
|
|
|
|
|
|
zip -@ %dest%\wxWindows-%version%-HTML.zip < %src%\distrib\msw\wx_html.rsp
|
2001-05-04 06:31:08 -04:00
|
|
|
|
|
|
|
cd %dest%
|