]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/makedemo
SourceForge patch #654210 to fix naming/numbering shared libs under OS X
[wxWidgets.git] / wxPython / distrib / makedemo
index 20b316365138343634c9cf9cd857ddc481e6a829..bf340d4335b64170d74d1e839c4da55e73a67cf4 100755 (executable)
@@ -15,18 +15,21 @@ 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`
 
 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 ../dist/wxPythonDemo-$1.tar
 
 cd ..
 rm -r _distrib_tgz