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-10 11:44:49 +0300
commit8ff6bfb75de0fb073a7e38941fd8f10c855d3825 (patch)
tree6fc495367820a0f0d7531e3eb31e724d566db492 /Makefile.in
parenta72ea67d52bf083034756332bf5f7e5c1c416129 (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 7d2de76e34c2..8379be5b21b7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -299,6 +299,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