X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5dda6ad8b673ae4cd0139b4d58f1e015cd934b65..4f60dce5d49d3a5f38d93c867bd3527fe60e1aec:/wxPython/distrib/all/build-windows diff --git a/wxPython/distrib/all/build-windows b/wxPython/distrib/all/build-windows index bde2a5ecf4..cd40bdb2bf 100755 --- a/wxPython/distrib/all/build-windows +++ b/wxPython/distrib/all/build-windows @@ -30,22 +30,45 @@ VERSION=$4 shift;shift;shift;shift PYVER=$@ + # WXDIR is the cygwin path, WXWIN is the DOS path WXWIN_OLD=$WXWIN WXWIN=`cygpath -w $WXDIR` export WXWIN -# Fix the PATH. (Why is this needed??) -PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/robind/bin:.:$WXDIR/lib/vc_dll:$PATH -export PATH -# change to the right spot and copy our build scripts +# # Fix the PATH. (Why is this needed??) +# PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/robind/bin:.:$WXDIR/lib/vc_dll:$PATH +# export PATH +# echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" +# echo $PATH +# echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" +# exit 0 + + +# untar the source +echo "Unarchiving wxPython-src-$VERSION.tar.gz" +cd $DESTDIR +tar xzf wxPython-src-$VERSION.tar.gz +rm wxPython-src-$VERSION.tar.gz + + +# Fix line endings +echo "Converting wxPython line endings to CRLF..." +cd $WXDIR +names=`find wxPython -name "*.py" -o -name "*.txt" -o -name "*.htm*" -o -name "*.css" -o -name "*.xml" ` +unix2dos -D $names + + +# change to the right spot in the source tree and copy our build scripts +echo "Setting up for the build..." cd $WXDIR/build/msw cp $WXDIR/wxPython/distrib/msw/.m* . + # replace some settings in setup0.h and write to setup.h cat > .my.sedexpr <