diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-06-06 18:51:48 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-06-10 14:20:09 +0300 |
commit | e8f47c367a6ab9009bc758c9e0f3a14fdd473c1c (patch) | |
tree | 7afc7fb06b9e99872c70154391bfc58421b81931 /Makefile.in | |
parent | 692eab310020bd7217646ec7ccb40ee9c1a5a895 (diff) |
Add --enable-macosx-package-signing
Change-Id: I355158f6cb584d252a21dfbce6e7cea6c70bba99
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index f63dbe069837..f3142be42f2e 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 |