summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-05-26 09:54:37 +0300
committerTor Lillqvist <tml@collabora.com>2014-05-26 09:55:10 +0300
commitba97e26d417f6465b501502e02bcdd02eb209344 (patch)
tree48dd8e48af4f411ca2c6e6563a47a277ec6104a3 /ios
parent7686f93f58ae3eed7ed2ee2bead362d034e24c02 (diff)
Print the xcodebuild output (including errors) if it has failed
Change-Id: I9c1074f49ca8cd1c3c97581ae45cbb8ac1855b71
Diffstat (limited to 'ios')
-rw-r--r--ios/CustomTarget_TiledLibreOffice_app.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/ios/CustomTarget_TiledLibreOffice_app.mk b/ios/CustomTarget_TiledLibreOffice_app.mk
index 5ca37a9ff5f1..01ca06f8032f 100644
--- a/ios/CustomTarget_TiledLibreOffice_app.mk
+++ b/ios/CustomTarget_TiledLibreOffice_app.mk
@@ -14,7 +14,14 @@ BUILDID :=$(shell cd $(SRCDIR) && git log -1 --format=%H)
#- Macros ---------------------------------------------------------------------
define TiledLibreOfficeXcodeBuild
- CC=;xcodebuild -project experimental/TiledLibreOffice/TiledLibreOffice.xcodeproj -target TiledLibreOffice -arch $(XCODE_ARCHS) -configuration $(if $(ENABLE_DEBUG),Debug,Release) $(1) $(if $(verbose)$(VERBOSE),,>/dev/null)
+ CC=; \
+ tempfile=`mktemp -t customtarget.tiledlibreoffice.XXXXXX`; \
+ xcodebuild \
+ -project experimental/TiledLibreOffice/TiledLibreOffice.xcodeproj \
+ -target TiledLibreOffice \
+ -arch $(XCODE_ARCHS) \
+ -configuration $(if $(ENABLE_DEBUG),Debug,Release) \
+ $(1) $(if $(verbose)$(VERBOSE),,>$tempfile; test $$? = 0 || cat $tempfile; rm $tempfile)
endef
#- Targets --------------------------------------------------------------------