git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30276
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+if [ "$HOSTNAME" = "bigmac.alldunn.com" ]; then
+ MAKEJOBS="--jobs=2"
+fi
if [ -z "$TARBALLDIR" ]; then
# this is a spot on my fileserver where the tarballs go, adjust
if [ -z "$TARBALLDIR" ]; then
# this is a spot on my fileserver where the tarballs go, adjust
cd $WXDIR/bld
WXBLD=$WXDIR/bld
else
cd $WXDIR/bld
WXBLD=$WXDIR/bld
else
- # If building "inplace" then our build dir will be BUILDROOT,
- # adjust the variables to find things that way.
- WXDIR=$WXROOT
+
+ # If building "inplace" then our build dir will be off of the
+ # WXROOT like normal, adjust the variables to find things that
+ # way.
+ WXBLD=$WXROOT/build-$CHARTYPE
+ mkdir -p $WXBLD
+ cd $WXBLD
+ WXDIR=..
-echo "Using source tree: $WXDIR"
+echo "Using wx root dir: $WXROOT"
echo "Using build dir: $WXBLD"
echo "Using build dir: $WXBLD"
+echo "Using source tree: $WXDIR"
#----------------------------------------------------------------------
#----------------------------------------------------------------------
- make
- make -C contrib/src/gizmos
- make -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0"
- make -C contrib/src/stc
+ make $MAKEJOBS
+ make $MAKEJOBS -C contrib/src/gizmos
+ make $MAKEJOBS -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0"
+ make $MAKEJOBS -C contrib/src/stc
$PYTHON setup.py \
UNICODE=$PYUNICODEOPT \
NO_SCRIPTS=1 \
$PYTHON setup.py \
UNICODE=$PYUNICODEOPT \
NO_SCRIPTS=1 \
ln -s ../lib/wx/config/* wx-config
# and wxPython
ln -s ../lib/wx/config/* wx-config
# and wxPython
$PYTHON setup.py \
UNICODE=$PYUNICODEOPT \
NO_SCRIPTS=1 \
$PYTHON setup.py \
UNICODE=$PYUNICODEOPT \
NO_SCRIPTS=1 \
# install wxPython's tool scripts
mkdir -p $INSTALLROOT$BINPREFIX
# install wxPython's tool scripts
mkdir -p $INSTALLROOT$BINPREFIX
- cd $WXDIR/wxPython/scripts
+ cd $WXROOT/wxPython/scripts
python$PYVER CreateMacScripts.py $INSTALLROOT $BINPREFIX
# Remove the .pyc/.pyo files they just take up space and can be recreated
# during the install.
python$PYVER CreateMacScripts.py $INSTALLROOT $BINPREFIX
# Remove the .pyc/.pyo files they just take up space and can be recreated
# during the install.
$PYTHON $PROGDIR/../zappycfiles.py $INSTALLROOT > /dev/null
popd
$PYTHON $PROGDIR/../zappycfiles.py $INSTALLROOT > /dev/null
popd
it from a Terminal command line, or you can open it with
PythonLauncher and let it create a Terminal to run it in.
it from a Terminal command line, or you can open it with
PythonLauncher and let it create a Terminal to run it in.
+ NOTE: If you have versions prior to 2.5.3.1 installed, please
+ do run this uninstall tool to remove the older version.
+