]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/zipwinminimal.bat
Don't assert when Clear() is called, better to ignore it
[wxWidgets.git] / distrib / msw / zipwinminimal.bat
CommitLineData
942e0678
JS
1@echo off
2rem Zip up a minimal wxMSW source distribution
3set src=%wxwin
4set dest=%src\deliver
5set webfiles=c:\wx2dev\wxWebSite
6
7Rem Set this to the required version
8set version=2.3.3
9
10if "%src" == "" goto usage
11if "%dest" == "" goto usage
12if "%1" == "-help" goto usage
13if "%1" == "--help" goto usage
14if "%1" == "/?" goto usage
15echo About to archive an Minimal wxMSW distribution:
16echo From %src
17echo To %dest
18echo CTRL-C if this is not correct.
19pause
20
21erase %dest\wxMSW-%VERSION%-Minimal*.zip
22
23if not direxist %dest mkdir %dest
24if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version%
25
26echo Zipping wxMSW-Minimal distribution
27
28cd %src%
29
30zip32 -@ %dest%\wxMSW-%version%-Minimal.zip < %src%\distrib\msw\msw_minimal.rsp
31zip32 -u -@ %dest%\wxMSW-%version%-Minimal.zip < %src%\distrib\msw\jpeg.rsp
32zip32 -u -@ %dest%\wxMSW-%version%-Minimal.zip < %src%\distrib\msw\png.rsp
33zip32 -u -@ %dest%\wxMSW-%version%-Minimal.zip < %src%\distrib\msw\zlib.rsp
34zip32 -u -@ %dest%\wxMSW-%version%-Minimal.zip < %src%\distrib\msw\tiff.rsp
35
36if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version%
37
38mkdir %dest%\wxWindows-%version%
39cd %dest%\wxWindows-%version%
40
41unzip32 ..\wxMSW-%version%-Minimal.zip
42erase /Y src\gtk\descrip.mms src\motif\descrip.mms docs\pdf\*.pdf
43
44echo Deleting some redundant files
45
46erase /XY src\generic\treectrlg.cpp include\wx\generic\treectrlg.cpp
47erase /XY src\generic\listctrl.cpp include\wx\generic\listctrl.cpp
48Rem erase /XY src\generic\prop*.cpp include\wx\generic\prop*.cpp
49erase /XY src\generic\printps.cpp src\generic\fontdlgg.cpp src\generic\accel.cpp src\generic\colrdlgg.cpp
50erase /XY include\wx\generic\printps.cpp include\wx\generic\fontdlgg.h include\wx\generic\accel.h include\wx\generic\colrdlgg.h
51erase /XY include\wx\generic\mdig.h src\generic\mdig.cpp
52erase /XY include\wx\*cw*.h
53
54erase /SXY docs\html\dialoged docs\html\tex2rtf
55
56cd %dest%
57
58erase wxMSW-%version%-Minimal.zip
59zip32 -r wxMSW-%version%-Minimal.zip wxWindows-%version%/*
60
61echo wxMSW-Minimal archived.
62
63cd %src%\distrib\msw
64
65goto end
66
67:usage
68echo DOS wxWindows distribution. Zips up wxMSW-Minimal.
69echo.
70echo "Usage: zipwinminimal.bat"
71
72:end