]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/zipwinminimal.bat
Show the current range of valid dates in the calendar sample.
[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
77ffb593 24if direxist %dest%\wxWidgets-%version% erase /sxyz %dest%\wxWidgets-%version%
942e0678
JS
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
77ffb593 36if direxist %dest%\wxWidgets-%version% erase /sxyz %dest%\wxWidgets-%version%
942e0678 37
77ffb593
JS
38mkdir %dest%\wxWidgets-%version%
39cd %dest%\wxWidgets-%version%
942e0678
JS
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
942e0678
JS
54cd %dest%
55
56erase wxMSW-%version%-Minimal.zip
77ffb593 57zip32 -r wxMSW-%version%-Minimal.zip wxWidgets-%version%/*
942e0678
JS
58
59echo wxMSW-Minimal archived.
60
61cd %src%\distrib\msw
62
63goto end
64
65:usage
77ffb593 66echo DOS wxWidgets distribution. Zips up wxMSW-Minimal.
942e0678
JS
67echo.
68echo "Usage: zipwinminimal.bat"
69
70:end