2 rem Zip up a minimal wxMSW source distribution
5 set webfiles
=c
:\wx2dev\wxWebSite
7 Rem Set this to the required version
10 if "%src" == "" goto usage
11 if "%dest" == "" goto usage
12 if "%1" == "-help" goto usage
13 if "%1" == "--help" goto usage
14 if "%1" == "/?" goto usage
15 echo About to archive an Minimal wxMSW distribution
:
18 echo CTRL
-C
if this is
not correct.
21 erase %dest\wxMSW
-%VERSION%-Minimal
*.zip
23 if not direxist
%dest
mkdir %dest
24 if direxist
%dest%\wxWidgets
-%version% erase /sxyz
%dest%\wxWidgets
-%version%
26 echo Zipping wxMSW
-Minimal distribution
30 zip32
-@
%dest%\wxMSW
-%version%-Minimal.zip
< %src%\distrib\msw\msw_minimal.rsp
31 zip32
-u
-@
%dest%\wxMSW
-%version%-Minimal.zip
< %src%\distrib\msw\jpeg.rsp
32 zip32
-u
-@
%dest%\wxMSW
-%version%-Minimal.zip
< %src%\distrib\msw\png.rsp
33 zip32
-u
-@
%dest%\wxMSW
-%version%-Minimal.zip
< %src%\distrib\msw\zlib.rsp
34 zip32
-u
-@
%dest%\wxMSW
-%version%-Minimal.zip
< %src%\distrib\msw
\tiff.rsp
36 if direxist
%dest%\wxWidgets
-%version% erase /sxyz
%dest%\wxWidgets
-%version%
38 mkdir %dest%\wxWidgets
-%version%
39 cd %dest%\wxWidgets
-%version%
41 unzip32 ..\wxMSW
-%version%-Minimal.zip
42 erase /Y src\gtk\descrip.mms src\motif\descrip.mms docs\pdf\
*.pdf
44 echo Deleting some redundant
files
46 erase /XY src\generic
\treectrlg.cpp include\wx\generic
\treectrlg.cpp
47 erase /XY src\generic\listctrl.cpp include\wx\generic\listctrl.cpp
48 Rem erase /XY src\generic\prop*.cpp include\wx\generic\prop*.cpp
49 erase /XY src\generic\printps.cpp src\generic
\fontdlgg.cpp src\generic
\accel.cpp src\generic\colrdlgg.cpp
50 erase /XY include\wx\generic\printps.cpp include\wx\generic
\fontdlgg.h include\wx\generic
\accel.h include\wx\generic\colrdlgg.h
51 erase /XY include\wx\generic\mdig.h src\generic\mdig.cpp
52 erase /XY include\wx\
*cw
*.h
56 erase wxMSW
-%version%-Minimal.zip
57 zip32
-r wxMSW
-%version%-Minimal.zip wxWidgets
-%version%/*
59 echo wxMSW
-Minimal archived.
66 echo DOS wxWidgets distribution. Zips up wxMSW
-Minimal.
68 echo "Usage: zipwinminimal.bat"