]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/all/build-osx
Build the new docs as part of the automated build
[wxWidgets.git] / wxPython / distrib / all / build-osx
index 0c9fccd673e20fb7207a89e809298fd49896f027..77fc27d89a747842702d60743b190ddf672ac1a3 100755 (executable)
@@ -30,6 +30,17 @@ VERSION=$4
 shift;shift;shift;shift
 PYVER=$@
 
+
+export PATH=/sw/bin:$PATH
+
+
+# untar the source 
+echo "Unarchiving wxPythonSrc-$VERSION.tar.gz"
+cd $DESTDIR
+tar xzf wxPythonSrc-$VERSION.tar.gz 
+rm wxPythonSrc-$VERSION.tar.gz
+
+
 echo "Invoking wxPythonOSX build script..."
 cd $WXDIR/wxPython
 export TARBALLDIR=$DESTDIR
@@ -44,7 +55,9 @@ cd $DESTDIR
 
 if [ $SKIPCLEAN != yes ]; then 
     echo "Cleaning up..."
-    rm -r $WXDIR
+    rm -r $WXDIR || true
+    rm wxPythonDocs-$VERSION.tar.gz
+    rm wxPythonDemo-$VERSION.tar.gz
 fi
 
 echo "-=-=-=-  Goodbye!  -=-=-=-"