summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-11-14 18:54:27 +0200
committerTor Lillqvist <tml@collabora.com>2017-11-14 18:54:27 +0200
commit404f9f5e457850f3af62204c8c572f044e2e19dc (patch)
treefc2a7467a56311634e8197a11b1e7cd9b8ce9790 /Makefile.in
parent329eeefcbd65ea88f0c8c3f034d49ba73045d059 (diff)
Add clarifying comment about shell scripts in Contents/MacOS
Change-Id: I0f0bda04cc94705e44d78456756905fd6a821561
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 5a6d5e8d1ae9..7dfad58cf39f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -351,7 +351,14 @@ ifneq ($(MACOSX_CODESIGNING_IDENTITY),)
rm -rf $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/Frameworks/LibreOfficePython.framework/Versions/[1-9]*/lib/python[1-9]*/config-[1-9]*
#
ifneq ($(ENABLE_MACOSX_SANDBOX),)
-# Remove the gengal binary and unopkg and unoinfo scripts that we don't want
+
+# Remove the gengal binary that we hardly need and the shell scripts
+# for which code signatures (stored as extended attributes) won't
+# survice upload to the App Store anyway. See
+# https://developer.apple.com/library/content/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html#//apple_ref/doc/uid/TP40005929-CH4-TNTAG201
+# We could put the shell scripts somewhere in Resources instead, but
+# no 3rd-party code that would be interested in them would look there
+# anyway.
rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/gengal
rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/unopkg
rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/unoinfo