]> git.saurik.com Git - wxWidgets.git/commitdiff
More distrib updates
authorRobin Dunn <robin@alldunn.com>
Tue, 11 Dec 2001 04:55:09 +0000 (04:55 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 11 Dec 2001 04:55:09 +0000 (04:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/distrib/makedemo
wxPython/distrib/maketools [new file with mode: 0755]

index 3a41a18a566ee31792f2ae05c5e68ab7781f09a1..7dfe6cc35656fddd121f99367bc88f2ed5302944 100755 (executable)
@@ -21,8 +21,10 @@ 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`
 
 cd _distrib_tgz
 
diff --git a/wxPython/distrib/maketools b/wxPython/distrib/maketools
new file mode 100755 (executable)
index 0000000..bc47f63
--- /dev/null
@@ -0,0 +1,38 @@
+#!/bin/bash
+#----------------------------------------------------------------------
+
+if [ -z $1 ]; then
+    echo "Please specify a version number on the command line."
+    exit 1
+fi
+
+if [ ! -d wxPython ]; then
+    echo "Please run this script from the root wxPython directory."
+    exit 1
+fi
+
+mkdir _distrib_tgz
+mkdir _distrib_tgz/wxPython-$1
+
+cp -R tools _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 `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-tools-$1.tar wxPython-$1
+gzip ../dist/wxPython-tools-$1.tar
+
+cd ..
+rm -r _distrib_tgz
+
+
+
+