]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/zipwinminimal.bat
added wxFileName::MakeAbsolute
[wxWidgets.git] / distrib / msw / zipwinminimal.bat
1 @echo off
2 rem Zip up a minimal wxMSW source distribution
3 set src=%wxwin
4 set dest=%src\deliver
5 set webfiles=c:\wx2dev\wxWebSite
6
7 Rem Set this to the required version
8 set version=2.3.3
9
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:
16 echo From %src
17 echo To %dest
18 echo CTRL-C if this is not correct.
19 pause
20
21 erase %dest\wxMSW-%VERSION%-Minimal*.zip
22
23 if not direxist %dest mkdir %dest
24 if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version%
25
26 echo Zipping wxMSW-Minimal distribution
27
28 cd %src%
29
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
35
36 if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version%
37
38 mkdir %dest%\wxWindows-%version%
39 cd %dest%\wxWindows-%version%
40
41 unzip32 ..\wxMSW-%version%-Minimal.zip
42 erase /Y src\gtk\descrip.mms src\motif\descrip.mms docs\pdf\*.pdf
43
44 echo Deleting some redundant files
45
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
53
54 erase /SXY docs\html\dialoged docs\html\tex2rtf
55
56 cd %dest%
57
58 erase wxMSW-%version%-Minimal.zip
59 zip32 -r wxMSW-%version%-Minimal.zip wxWindows-%version%/*
60
61 echo wxMSW-Minimal archived.
62
63 cd %src%\distrib\msw
64
65 goto end
66
67 :usage
68 echo DOS wxWindows distribution. Zips up wxMSW-Minimal.
69 echo.
70 echo "Usage: zipwinminimal.bat"
71
72 :end