This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch feature/cleanup in repository x2goclient. commit 42302f4bee54be925f668509e926ba9025a7b9de Author: Mihai Moldovan <ionic@ionic.de> Date: Mon Feb 16 00:37:53 2015 +0100 macbuild.sh: add debug mode selector via DEBUG env variable. --- debian/changelog | 1 + macbuild.sh | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4edd99a..f971572 100644 --- a/debian/changelog +++ b/debian/changelog @@ -229,6 +229,7 @@ x2goclient (4.0.3.2-0x2go1) unstable; urgency=medium references. - Move res/Info.plist and macdmg.DS_Store to res/osxbundle/ and update references in x2goclient.pro and macbuild.sh. + - Add debug mode selector via DEBUG env variable to macbuild.sh. -- X2Go Release Manager <git-admin@x2go.org> Thu, 19 Feb 2015 12:49:22 +0100 diff --git a/macbuild.sh b/macbuild.sh index 422a250..a02e3cb 100755 --- a/macbuild.sh +++ b/macbuild.sh @@ -15,6 +15,12 @@ LIBZ="libz.1.dylib" : SDK="${SDK:-"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"}" : MACOSX_DEPLOYMENT_TARGET="${MACOSX_DEPLOYMENT_TARGET:-"10.7"}" +: DEBUG="${DEBUG:-"0"}" + +case "${DEBUG}" in + ("0"|"no"|""|"No"|"nO"|"NO") BUILD_MODE="release";; + (*) BUILD_MODE="debug";; +esac set -e @@ -40,7 +46,7 @@ phase "Running lrelease" lrelease "${PROJECT}" phase "Running qmake" -qmake -config release -spec macx-g++ "${PROJECT}" \ +qmake -config "${BUILD_MODE}" -spec macx-g++ "${PROJECT}" \ CONFIG+="x86_64" \ QMAKE_MAC_SDK="${SDK}" \ QMAKE_MACOSX_DEPLOYMENT_TARGET="${MACOSX_DEPLOYMENT_TARGET}" -- Alioth's /srv/git/code.x2go.org/x2goclient.git//../..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git