diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-05-26 10:10:03 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-05-26 10:10:37 +0300 |
commit | 4c28b348f581944d470dac11c19d85e2b0bd8e6f (patch) | |
tree | 7aa98157bcf5e1e8b8ff74ed87df16d089836ab0 /ios | |
parent | 4002fae08754aec38873bc453f991773ec6536f0 (diff) |
Nah, use gb_Helper_print_on_error
Change-Id: Ib47ed5d13d0d94e706b38dc996999e263d3d0967
Diffstat (limited to 'ios')
-rw-r--r-- | ios/CustomTarget_TiledLibreOffice_app.mk | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/ios/CustomTarget_TiledLibreOffice_app.mk b/ios/CustomTarget_TiledLibreOffice_app.mk index 01ca06f8032f..73f9fccc2681 100644 --- a/ios/CustomTarget_TiledLibreOffice_app.mk +++ b/ios/CustomTarget_TiledLibreOffice_app.mk @@ -15,13 +15,15 @@ BUILDID :=$(shell cd $(SRCDIR) && git log -1 --format=%H) define TiledLibreOfficeXcodeBuild 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) + $(call gb_Helper_print_on_error, \ + xcodebuild \ + -project experimental/TiledLibreOffice/TiledLibreOffice.xcodeproj \ + -target TiledLibreOffice \ + -arch $(XCODE_ARCHS) \ + -configuration $(if $(ENABLE_DEBUG),Debug,Release) \ + $(1) \ + , $$@.log \ + ) endef #- Targets -------------------------------------------------------------------- |