Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Wed, 08 Jun 2016 10:30:03 UTC Commit: 81a5b771b51c45a11584e091ba0995984e1f4495 https://github.com/geany/geany/commit/81a5b771b51c45a11584e091ba0995984e1f44...
Log Message: ----------- scripts/cross-build-mingw.sh: Allow to specify the build directory
This can be useful to maintain 2 separate build directories in parallel, i.e. for GTK2 and 3 builds.
Modified Paths: -------------- scripts/cross-build-mingw.sh
Modified: scripts/cross-build-mingw.sh 12 lines changed, 7 insertions(+), 5 deletions(-) =================================================================== @@ -22,17 +22,19 @@ GTK3=no CONFIGUREFLAGS="--enable-nls" MAKEFLAGS="${MAKEFLAGS:--j2}"
-while getopts '32h' o; do +while getopts '32b:h' o; do case "$o" in 3) GTK3=yes;; 2) GTK3=no;; + b) BUILDDIR="$OPTARG";; h) cat <<EOF -USAGE: $0 [-2|-3] [-h] +USAGE: $0 [-2|-3] [-b DIR] [-h]
--2 Build against GTK2 --3 Build against GTK3 --h Show this help and exit +-2 Build against GTK2 +-3 Build against GTK3 +-b DIR Use DIR as build directory +-h Show this help and exit EOF exit 0;; *) echo "Invalid option $o (see -h)">&2; exit 1;;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).