summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-06-06 18:51:48 +0300
committerTor Lillqvist <tml@collabora.com>2014-06-06 20:04:18 +0300
commitaa23371ba3d257fb590aae9e0ebee35d7da80c97 (patch)
tree5de496cb0000b8558814ae2d7b6786086bf2c42b /Makefile.in
parent5b6d26becca7f7a03bbc615265c5426deb28244f (diff)
Add --enable-macosx-package-signing
Change-Id: I355158f6cb584d252a21dfbce6e7cea6c70bba99
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 206f5edbb400..4dd5555369e7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -296,6 +296,15 @@ endif
endif
@$(call gb_Top_InstallFinished,Test Installation,$(TESTINSTALLDIR))
+mac-app-store-package: test-install
+ifneq ($(MACOSX_PACKAGE_SIGNING_IDENTITY),)
+ mv "$(TESTINSTALLDIR)/$(PRODUCTNAME).app" "$(MACOSX_APP_NAME).app"
+ productbuild --component "$(MACOSX_APP_NAME).app" /Applications --sign $(MACOSX_PACKAGE_SIGNING_IDENTITY) $(shell echo "$(MACOSX_APP_NAME)" | tr ' ' '-').pkg
+else
+ @echo You did not provide an installer signing identity with --enable-macosx-package-signing
+ @exit 1
+endif
+
distro-pack-install: install
$(SRCDIR)/bin/distro-install-clean-up
$(SRCDIR)/bin/distro-install-desktop-integration