summaryrefslogtreecommitdiffstats
path: root/macosx/module.xcodebuild
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-10-30 14:38:20 +0100
committerDamiano Galassi <[email protected]>2020-11-05 09:49:16 +0100
commit25da8ed4896f43c86c0a9eaedf09b4b883f43227 (patch)
treeec839a2dcdfa9494834a9ae079b2942db5290ab6 /macosx/module.xcodebuild
parentb7de6666eb2112cd6dc3eb3f05427e03d6f13519 (diff)
build: improve ub target to generate a arm64/x86_64 binary.
Diffstat (limited to 'macosx/module.xcodebuild')
-rw-r--r--macosx/module.xcodebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/macosx/module.xcodebuild b/macosx/module.xcodebuild
index 366057cd2..8073ef3d8 100644
--- a/macosx/module.xcodebuild
+++ b/macosx/module.xcodebuild
@@ -1,15 +1,20 @@
## This file is processed only when shunting build through xcodebuild
-.PHONY: macosx.build macosx.sign macosx.notarize macosx.clean macosx.install macosx.install-strip macosx.uninstall
+.PHONY: macosx.build macosx.ub macosx.sign macosx.notarize macosx.clean macosx.install macosx.install-strip macosx.uninstall
macosx.build:
$(call MACOSX.XCODE,HandBrakeCLI HandBrake,build)
+macosx.ub:
+ $(call UB.BUILD.SERIAL)
+ $(call UB.COMBINE)
+ $(call MACOSX.SIGN)
+
macosx.sign:
- $(call MACOSX.SIGN,HandBrakeCLI HandBrake,sign)
+ $(call MACOSX.SIGN)
macosx.notarize:
- $(call MACOSX.NOTARIZE,HandBrakeCLI HandBrake,notarize)
+ $(call MACOSX.NOTARIZE)
macosx.clean:
$(call MACOSX.XCODE,HandBrakeCLI HandBrake,clean)
@@ -31,6 +36,7 @@ macosx.uninstall:
$(RM.exe) -f $(PREFIX/)bin/HandBrakeCLI
build: macosx.build
+ub: macosx.ub
sign: macosx.sign
notarize: macosx.notarize
clean: macosx.clean
@@ -41,7 +47,7 @@ xclean: clean
###############################################################################
-MACOSX.goals = $(filter-out build sign notarize clean install,$(MAKECMDGOALS))
+MACOSX.goals = $(filter-out build ub sign notarize clean install,$(MAKECMDGOALS))
$(MACOSX.goals): __goals__
@true