adium 4632:e5bc62906ccf: This works better then previous way.

commits at adium.im commits at adium.im
Tue Jan 31 14:45:21 UTC 2012


details:	http://hg.adium.im/adium/rev/e5bc62906ccf
revision:	4632:e5bc62906ccf
branch:		(none)
author:		Adrian Godoroja <robotive at me.com>
date:		Tue Jan 31 16:38:56 2012 +0200

This works better then previous way.

diffs (21 lines):

diff -r 81dccd57e7d9 -r e5bc62906ccf Makefile
--- a/Makefile	Tue Jan 31 14:28:11 2012 +0200
+++ b/Makefile	Tue Jan 31 16:38:56 2012 +0200
@@ -9,14 +9,9 @@
 
 BUILDCONFIGURATION?=$(DEFAULT_BUILDCONFIGURATION)
 
-# Default DevTools
-XCODEBUILD=xcodebuild
-
-# Non-default install of DevTools
-# currently used for Muscovy build machine
-if test -d /Xcode4 ; \
-then XCODEBUILD=/Xcode4/usr/bin/./xcodebuild ; \
-fi
+# Choose xcodebuild 
+# currently used for build machines
+XCODEBUILD ?= $(shell if test -d /Xcode4; then echo "/Xcode4/usr/bin/xcodebuild"; else echo "xcodebuild"; fi)
 #
 
 CP=ditto --rsrc




More information about the commits mailing list