aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin/Support/makepythoninterface.command
diff options
context:
space:
mode:
authorStephan Diederich <stephan.diederich@gmail.com>2013-05-25 15:42:49 +0200
committerMemphiz <memphis@machzwo.de>2013-05-27 19:08:01 +0200
commitd7a453a0e6568d34437ad1353c2435a590333727 (patch)
treeb3ac1a336e712102d7c387e589334e7beb07eb3b /tools/darwin/Support/makepythoninterface.command
parentc054f7e8d90c4fcedd214c1bf378122a37b4a489 (diff)
[xcode] move all after buildsteps into external 'command' shell scripts for easy diffs
Diffstat (limited to 'tools/darwin/Support/makepythoninterface.command')
-rwxr-xr-xtools/darwin/Support/makepythoninterface.command11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/darwin/Support/makepythoninterface.command b/tools/darwin/Support/makepythoninterface.command
new file mode 100755
index 0000000000..50d3a2233b
--- /dev/null
+++ b/tools/darwin/Support/makepythoninterface.command
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if [ -d "$XBMC_DEPENDS_ROOT/buildtools-native/bin" ]; then
+ PATH=$PATH:$XBMC_DEPENDS_ROOT/buildtools-native/bin
+else
+ PATH=$PATH:$XBMC_DEPENDS_ROOT/toolchain/bin
+fi
+
+if [ "$ACTION" = build ] ; then
+ make -f ${SRCROOT}/codegenerator.mk
+fi