[Libreoffice-commits] core.git: ios/CustomTarget_TiledLibreOffice_app.mk

Tor Lillqvist tml at collabora.com
Mon May 26 00:11:21 PDT 2014


 ios/CustomTarget_TiledLibreOffice_app.mk |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

New commits:
commit 4c28b348f581944d470dac11c19d85e2b0bd8e6f
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon May 26 10:10:03 2014 +0300

    Nah, use gb_Helper_print_on_error
    
    Change-Id: Ib47ed5d13d0d94e706b38dc996999e263d3d0967

diff --git a/ios/CustomTarget_TiledLibreOffice_app.mk b/ios/CustomTarget_TiledLibreOffice_app.mk
index 01ca06f..73f9fcc 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 --------------------------------------------------------------------


More information about the Libreoffice-commits mailing list