From: Kevin Ollivier Date: Sun, 25 Jun 2006 18:54:10 +0000 (+0000) Subject: Setting up unix dobuilds script to run gtk2 builds. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9ef3cca85bdc1048bc54db0c14fbc4a2047956e9?ds=inline;hp=95a866a69fe3404111c0d09f1e80e1da8f02fa0e Setting up unix dobuilds script to run gtk2 builds. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/distrib/scripts/unix/dobuilds b/distrib/scripts/unix/dobuilds index 51552768ad..a062e4a0bc 100755 --- a/distrib/scripts/unix/dobuilds +++ b/distrib/scripts/unix/dobuilds @@ -4,41 +4,24 @@ HOMEDIR="$PWD" BUILDDIR_ROOT="$PWD/builds" -BUILDDIR_CARBON="$BUILDDIR_ROOT/carbon" -BUILDDIR_COCOA="$BUILDDIR_ROOT/cocoa" - -mkdir -p $BUILDDIR_CARBON -mkdir -p $BUILDDIR_COCOA - -cd $BUILDDIR_CARBON -BUILDDIR=$BUILDDIR_CARBON - -export WXROOT="$HOMEDIR/../../.." -export INSTALLDIR="$BUILDDIR/install-ansi" -$HOMEDIR/macbuild - -export INSTALLDIR="$BUILDDIR/install-unicode" -$HOMEDIR/macbuild unicode - -export INSTALLDIR="$BUILDDIR/install-static-ansi" -$HOMEDIR/macbuild static - -export INSTALLDIR="$BUILDDIR/install-static-unicode" -$HOMEDIR/macbuild static unicode - -cd $BUILDDIR_COCOA -BUILDDIR=$BUILDDIR_COCOA - -export INSTALLDIR="$BUILDDIR/install-ansi" -$HOMEDIR/macbuild cocoa - -export INSTALLDIR="$BUILDDIR/install-unicode" -$HOMEDIR/macbuild cocoa unicode - -export INSTALLDIR="$BUILDDIR/install-static-ansi" -$HOMEDIR/macbuild cocoa static - -export INSTALLDIR="$BUILDDIR/install-static-unicode" -$HOMEDIR/macbuild cocoa static unicode - -cd $HOMEDIR \ No newline at end of file +do_builds { + PORT=$1 + BUILDDIR=$BUILDDIR_ROOT/$PORT + mkdir -p $BUILDDIR + cd $BUILDDIR + + export WXROOT="$HOMEDIR/../../.." + export INSTALLDIR="$BUILDDIR/install-ansi" + $HOMEDIR/unixbuild $PORT + + export INSTALLDIR="$BUILDDIR/install-unicode" + $HOMEDIR/unixbuild $PORT unicode + + export INSTALLDIR="$BUILDDIR/install-static-ansi" + $HOMEDIR/unixbuild $PORT static + + export INSTALLDIR="$BUILDDIR/install-static-unicode" + $HOMEDIR/unixbuild $PORT static unicode +} + +do_builds "gtk2"