]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/makepreview.bat
backwards compatibility aliases can be used in the wxPython namespace
[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 mkdir %BASE%\docs
14 mkdir %BASE%\docs\xml
15
16
17 rem *** copy files
18 copy /s wx %BASE%\wx
19 copy /s wxPython %BASE%\wxPython
20 copy /s demo %BASE%\demo
21 copy /s scripts %BASE%\scripts
22
23 copy ..\BIN\*h_*.dll %BASE%\wx
24 copy docs\MigrationGuide.* %BASE%\docs
25 copy docs\CHANGES.txt %BASE%\docs
26 copy docs\xml\wxPython-metadata.xml %BASE%\docs\xml
27
28
29
30 rem *** remove unneeded files
31 cd _distrib_zip
32 ffind /A:D /SB CVS > del-files
33 cat del-files
34 del /sxzy @del-files
35 del del-files
36 cd ..
37
38
39
40 rem *** bundle it all up
41 cd _distrib_zip
42 tar cvf ../dist/wxPythonWIN32-preview-%1.tar wxPython-%1
43 gzip -9 ../dist/wxPythonWIN32-preview-%1.tar
44
45 rem *** cleanup
46 cd ..
47 del /sxzy _distrib_zip
48
49 endlocal
50
51
52