summaryrefslogtreecommitdiffstats
path: root/macosx/module.xcodebuild
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2017-09-07 12:42:34 -0400
committerBradley Sepos <[email protected]>2017-11-27 04:13:06 -0500
commit970a5692548a9f600e1c969ba90850013ff1647c (patch)
treeb32eb1c18398b1946f779b75bee6165effe094f9 /macosx/module.xcodebuild
parentb9d712b7e34f497758dd42f16fb3c9c432226497 (diff)
build: Add support for Xcode Archive feature.
Diffstat (limited to 'macosx/module.xcodebuild')
-rw-r--r--macosx/module.xcodebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/macosx/module.xcodebuild b/macosx/module.xcodebuild
index bb62e80db..b472b4da0 100644
--- a/macosx/module.xcodebuild
+++ b/macosx/module.xcodebuild
@@ -1,10 +1,13 @@
## This file is processed only when shunting build through xcodebuild
-.PHONY: macosx.build macosx.clean macosx.install macosx.install-strip macosx.uninstall
+.PHONY: macosx.build macosx.archive macosx.clean macosx.install macosx.install-strip macosx.uninstall
macosx.build:
$(call MACOSX.XCODE,HandBrakeCLI HandBrake,build)
+macosx.archive:
+ $(call MACOSX.XCODE_ARCHIVE,HandBrake-Distribution,archive)
+
macosx.clean:
$(call MACOSX.XCODE,HandBrakeCLI HandBrake,clean)
@@ -25,6 +28,7 @@ macosx.uninstall:
$(RM.exe) -f $(PREFIX/)bin/HandBrakeCLI
build: macosx.build
+archive: macosx.archive
clean: macosx.clean
install: macosx.install
install-strip: macosx.install-strip
@@ -33,7 +37,7 @@ xclean: clean
###############################################################################
-MACOSX.goals = $(filter-out build clean install,$(MAKECMDGOALS))
+MACOSX.goals = $(filter-out build archive clean install,$(MAKECMDGOALS))
$(MACOSX.goals): __goals__
@true