Add clarifying comment about shell scripts in Contents/MacOS

Change-Id: I0f0bda04cc94705e44d78456756905fd6a821561
This commit is contained in:
Tor Lillqvist 2017-11-14 18:54:27 +02:00
parent 329eeefcbd
commit 404f9f5e45

View file

@ -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