]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/makedemo
More lib and demo changes for dropping the wx prefix, from Jeff G.
[wxWidgets.git] / wxPython / distrib / makedemo
index 3a41a18a566ee31792f2ae05c5e68ab7781f09a1..af2983ee31b4718fdd85dd2a3054730724dca409 100755 (executable)
@@ -21,13 +21,17 @@ cp -R samples _distrib_tgz/wxPython-$1
 rm -rf `find _distrib_tgz/wxPython-$1 -name CVS`
 rm -f `find  _distrib_tgz/wxPython-$1 -name "*.pyc"`
 rm -f `find  _distrib_tgz/wxPython-$1 -name .cvsignore`
-rm -f _distrib_tgz/wxPython-$1/demo/core
-rm -rf _distrib_tgz/wxPython-$1/demo/wxPython
+rm -f `find  _distrib_tgz/wxPython-$1 -name "core*"`
+rm -f `find  _distrib_tgz/wxPython-$1 -name wxPython`
+rm -f `find  _distrib_tgz/wxPython-$1 -name "*.o"`
+rm -f `find  _distrib_tgz/wxPython-$1 -name "*.so"`
+rm -f `find  _distrib_tgz/wxPython-$1 -name "*~"`
+rm -f `find  _distrib_tgz/wxPython-$1 -name ".#*"`
 
 cd _distrib_tgz
 
-tar cvf ../dist/wxPython-demo-$1.tar wxPython-$1
-gzip ../dist/wxPython-demo-$1.tar
+tar cvf ../dist/wxPythonDemo-$1.tar wxPython-$1
+gzip -9 ../dist/wxPythonDemo-$1.tar
 
 cd ..
 rm -r _distrib_tgz