summaryrefslogtreecommitdiffstats
path: root/make/xcodemake
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-04-19 01:47:13 +0000
committerkonablend <[email protected]>2009-04-19 01:47:13 +0000
commit4fffefa4da3832f6883fb21527847deaaf8455b4 (patch)
treeb6e49d32ddb7a86bca4b856c8002d0dabe3a3c17 /make/xcodemake
parent05965924b744356f7eb4977303e0afcb15d6300e (diff)
BuildSystem: fix darwin/xcode to avoid double-configure/build after svn up
- build system automagically rebuilds certain files from libhb upwards after an svn up to maintain accurate repository information in binaries; if building with xcode the process was inadvertantly repeated on subsequent 'make'. - enhanced make/xcodemake to record the user's environment when shunted through xcode. this should help in diagnosing build issues from Xcode.app in the future. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2344 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make/xcodemake')
-rwxr-xr-xmake/xcodemake8
1 files changed, 8 insertions, 0 deletions
diff --git a/make/xcodemake b/make/xcodemake
index 4854ec2d4..93c927c96 100755
--- a/make/xcodemake
+++ b/make/xcodemake
@@ -92,6 +92,14 @@ else
jobs=--jobs=$EXTERNAL_JOBS
fi
+## log environment as provided by Xcode
+logdir=$EXTERNAL_BUILD/log
+if [ ! -d $logdir ]; then
+ mkdir -p $logdir
+fi
+env | sort > $logdir/xcodemake.env.txt
+
## pull the trigger
+## must set BUILD.method != terminal to prevent inifinite recursion
set -x
exec make -C $EXTERNAL_BUILD BUILD.method=xcode $jobs $goals $EXTERNAL_VARS