]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/makepreview.bat
added obsolescence note
[wxWidgets.git] / wxPython / distrib / makepreview.bat
1 rem @echo off
2
3 setlocal
4 set BASE=_distrib_zip\wxPython-%1
5
6 rem **** Make a directory to build up a distribution tree
7 mkdir _distrib_zip
8 mkdir %BASE%
9 mkdir %BASE%\wx
10 mkdir %BASE%\wxPython
11 mkdir %BASE%\demo
12 mkdir %BASE%\scripts
13
14 rem *** copy files
15 copy /s wx %BASE%\wx
16 copy /s wxPython %BASE%\wxPython
17 copy /s demo %BASE%\demo
18 copy /s scripts %BASE%\scripts
19 copy ..\BIN\*h_*.dll %BASE%\wx
20
21
22
23
24 rem *** remove unneeded files
25 cd _distrib_zip
26 ffind /A:D /SB CVS > del-files
27 cat del-files
28 del /sxzy @del-files
29 del del-files
30 cd ..
31
32
33
34 rem *** bundle it all up
35 cd _distrib_zip
36 tar cvf ../dist/wxPythonWIN32-preview-%1.tar wxPython-%1
37 gzip -9 ../dist/wxPythonWIN32-preview-%1.tar
38
39 rem *** cleanup
40 cd ..
41 del /sxzy _distrib_zip
42
43 endlocal
44
45
46