]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/makedemo
2 #----------------------------------------------------------------------
5 echo "Please specify a version number on the command line."
9 if [ ! -d wxPython
]; then
10 echo "Please run this script from the root wxPython directory."
15 mkdir _distrib_tgz
/wxPython
-$1
17 cp -R demo _distrib_tgz
/wxPython
-$1
18 cp -R samples _distrib_tgz
/wxPython
-$1
21 rm -rf `find _distrib_tgz/wxPython-$1 -name CVS`
22 rm -f `find _distrib_tgz/wxPython-$1 -name "*.pyc"`
23 rm -f `find _distrib_tgz/wxPython-$1 -name .cvsignore`
24 rm -f `find _distrib_tgz/wxPython-$1 -name "core*"`
25 rm -f `find _distrib_tgz/wxPython-$1 -name wxPython`
26 rm -f `find _distrib_tgz/wxPython-$1 -name "*.o"`
27 rm -f `find _distrib_tgz/wxPython-$1 -name "*.so"`
28 rm -f `find _distrib_tgz/wxPython-$1 -name "*~"`
29 rm -f `find _distrib_tgz/wxPython-$1 -name ".#*"`
33 tar cvf ..
/dist
/wxPythonDemo
-$1.
tar wxPython
-$1
34 gzip -9 ..
/dist
/wxPythonDemo
-$1.
tar