summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-01-31 23:22:35 +0200
committerTor Lillqvist <tml@iki.fi>2013-01-31 23:23:38 +0200
commit2b71c1a9b189e5cf9224d43e3bac4a26f2e0ff99 (patch)
tree7ab70e42aeec100b70de05ef43b8e4408094a7d7 /Makefile.in
parentf33c8056a856b20436206682ab72a34b08c15c88 (diff)
Sign the app bundle created by dev-install if an identity is available
Change-Id: If7c61b203b3ca307831187778b951e8310381ca8
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index a4e57105142b..92b680f4f128 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -334,6 +334,12 @@ ifeq ($(OS_FOR_BUILD),WNT)
else
ifeq ($(DISABLE_LINKOO),TRUE)
@ooinstall $(DEVINSTALLDIR)/opt
+ifeq ($(OS),MACOSX)
+ identity=`security find-identity -p codesigning -v | grep 'Mac Developer:' | awk '{print $$2}'`; \
+ if test -n "$$identity"; then \
+ codesign --verbose --sign $$identity $(DEVINSTALLDIR)/opt/LibreOffice.app; \
+ fi
+endif
@install-gdb-printers -L
else
@ooinstall -l $(DEVINSTALLDIR)/opt