]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/makepreview.bat
reSWIGged
[wxWidgets.git] / wxPython / distrib / makepreview.bat
CommitLineData
f39ed413
RD
1rem @echo off
2
3setlocal
4set BASE=_distrib_zip\wxPython-%1
5
6rem **** Make a directory to build up a distribution tree
7mkdir _distrib_zip
8mkdir %BASE%
9mkdir %BASE%\wx
10mkdir %BASE%\wxPython
11mkdir %BASE%\demo
12mkdir %BASE%\scripts
3798e298
RD
13mkdir %BASE%\docs
14mkdir %BASE%\docs\xml
15
f39ed413
RD
16
17rem *** copy files
18copy /s wx %BASE%\wx
19copy /s wxPython %BASE%\wxPython
20copy /s demo %BASE%\demo
21copy /s scripts %BASE%\scripts
f39ed413 22
3798e298
RD
23copy ..\BIN\*h_*.dll %BASE%\wx
24copy docs\MigrationGuide.* %BASE%\docs
25copy docs\CHANGES.txt %BASE%\docs
26copy docs\xml\wxPython-metadata.xml %BASE%\docs\xml
f39ed413
RD
27
28
29
30rem *** remove unneeded files
31cd _distrib_zip
dd83f618
RD
32ffind /A:D /SB CVS > del-files
33ffind /SB *.pyc >> del-files
f39ed413
RD
34cat del-files
35del /sxzy @del-files
36del del-files
37cd ..
38
39
40
41rem *** bundle it all up
42cd _distrib_zip
43tar cvf ../dist/wxPythonWIN32-preview-%1.tar wxPython-%1
44gzip -9 ../dist/wxPythonWIN32-preview-%1.tar
d2638b42 45mv ../dist/wxPythonWIN32-preview-%1.tar.gz ../dist/wxPythonWIN32-preview-%1.tgz
f39ed413
RD
46
47rem *** cleanup
48cd ..
49del /sxzy _distrib_zip
50
51endlocal
52
53
54