]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/distrib/makepreview.bat
Oops, that space crept back in.
[wxWidgets.git] / wxPython / distrib / makepreview.bat
... / ...
CommitLineData
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
13mkdir %BASE%\docs
14mkdir %BASE%\docs\xml
15
16
17rem *** copy files
18copy /s wx %BASE%\wx
19copy /s wxPython %BASE%\wxPython
20copy /s demo %BASE%\demo
21copy /s scripts %BASE%\scripts
22
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
27
28
29
30rem *** remove unneeded files
31cd _distrib_zip
32ffind /A:D /SB CVS > del-files
33ffind /SB *.pyc >> del-files
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
45mv ../dist/wxPythonWIN32-preview-%1.tar.gz ../dist/wxPythonWIN32-preview-%1.tgz
46
47rem *** cleanup
48cd ..
49del /sxzy _distrib_zip
50
51endlocal
52
53
54