X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c368d904fc27d35ae1e533155e2154dc496432e4..2fa9ab8174120441e96d8e1031a57fb6ffd34441:/wxPython/distrib/makedemo diff --git a/wxPython/distrib/makedemo b/wxPython/distrib/makedemo index 20b3163651..af2983ee31 100755 --- a/wxPython/distrib/makedemo +++ b/wxPython/distrib/makedemo @@ -15,18 +15,23 @@ mkdir _distrib_tgz mkdir _distrib_tgz/wxPython-$1 cp -R demo _distrib_tgz/wxPython-$1 +cp -R samples _distrib_tgz/wxPython-$1 # do some cleanup 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