summaryrefslogtreecommitdiffstats
path: root/make/variant/darwin.defs
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-03-26 22:41:19 +0000
committerkonablend <[email protected]>2009-03-26 22:41:19 +0000
commit5cb3af61b0901b822e451d209108e2d79be6d683 (patch)
tree1f24187d9d99527564d7c03d6c1ccc8169f2f0f5 /make/variant/darwin.defs
parent7d552e2d39f8f7d41efb2038fddf01473b982fef (diff)
BuildSystem: added HandBrakeCLI to universal-binary combination.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2276 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make/variant/darwin.defs')
-rw-r--r--make/variant/darwin.defs5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/variant/darwin.defs b/make/variant/darwin.defs
index baffda595..a966826bc 100644
--- a/make/variant/darwin.defs
+++ b/make/variant/darwin.defs
@@ -22,11 +22,16 @@ endef
define UB.COMBINE
$(RM.exe) -fr ub.combine
$(MKDIR.exe) -p ub.combine
+ $(CP.exe) ub.$(UB.first)/HandBrakeCLI ub.combine/.
+ $(LIPO.exe) $(foreach n,$(UB.archs),ub.$n/HandBrakeCLI) -create -output ub.combine/HandBrakeCLI
$(CP.exe) -R ub.$(UB.first)/HandBrake.app ub.combine/.
$(LIPO.exe) $(foreach n,$(UB.archs),ub.$n/$(1)) -create -output ub.combine/$(1)
@lipo -info ub.combine/$(1)
@sync
@echo ""
+ @echo "$@: { $(UB.archs) } combined -> ub.combine/HandBrakeCLI"
+ @echo "$@: UB executable size: `du -sh ub.combine/HandBrakeCLI | awk '{ print $$1 }'`"
+ @echo ""
@echo "$@: { $(UB.archs) } combined -> ub.combine/HandBrake.app"
@echo "$@: UB executable size: `du -sh ub.combine/$(1) | awk '{ print $$1 }'`"
endef