summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-09-23 00:27:58 +0300
committerAndras Timar <andras.timar@collabora.com>2016-06-11 14:27:12 +0200
commit03b4369c787de28a341839444882e53669599e40 (patch)
tree1b8694a803b472c9d3343d321c862e3618664fb6 /Makefile.in
parentf56af595612206ca04c1799d6b3b7dca5757a6f4 (diff)
We need the gengal program at build time
But don't bother shipping it on OS X, at least not in the sandboxed (App Store) case. (cherry picked from commit 11b4f4bfbee257d63f6a52808fb02b903ddea0d5) Conflicts: Makefile.in Repository.mk Conflicts: Makefile.in (cherry picked from commit ff489b6161654d378c70ed5e3f6be82e24ec09c9) Change-Id: Id73bef1ba71d126c2d2962fe846e9c31963d6c24
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 7ceabf3347b9..6d539075c7de 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -313,6 +313,20 @@ ifneq ($(MACOSX_CODESIGNING_IDENTITY),)
#
# And remove the "bin" folder which should not be there
rm -rf $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/bin
+#
+# Remove unnecessary executables in the LibreOfficePython framework
+ rm -rf $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/Frameworks/LibreOfficePython.framework/Versions/[1-9]*/bin
+#
+# Remove the python.o object file which is weird and interferes with app store uploading
+# And with it removed, presumably the other stuff in the Python lib/python3.3/config-3.3m probably does not make sense either.
+ rm -rf $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/Frameworks/LibreOfficePython.framework/Versions/[1-9]*/lib/python[1-9]*/config-[1-9]*
+#
+ifneq ($ENABLE_MACOSX_SANDBOX),)
+# Remove the gengal.bin binary that we don't want
+ rm $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/MacOS/gengal.bin
+endif
+#
+# Then use the macosx-codesign-app-bundle script
@$(SRCDIR)/solenv/bin/macosx-codesign-app-bundle $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app
endif
endif