diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index 686f64769cd5..a5461ca42d56 100644 --- a/Makefile.in +++ b/Makefile.in @@ -306,9 +306,15 @@ ifeq ($(OS_FOR_BUILD),WNT) else @$(SRCDIR)/solenv/bin/ooinstall $(TESTINSTALLDIR) ifneq ($(MACOSX_CODESIGNING_IDENTITY),) -# The InfoPlist_*.zip files in "bin" are totally pointless and should -# not be there. I am too lazy at the moment to figure out how to -# prevent them from ending up there. +# Unzip bin/InfoPlist_*.zip files into corresponding Resources/*.lproj directories. + set -x; for F in $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/bin/InfoPlist_*.zip; do \ + bn=`basename $$F .zip`; \ + lang=$${bn#InfoPlist_}; \ + lproj=$(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/Resources/$$lang.lproj; \ + mkdir $$lproj; \ + (cd $$lproj; unzip $$F); \ + done +# And remove the "bin" folder which should not be there rm -rf $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/bin @$(SRCDIR)/solenv/bin/macosx-codesign-app-bundle $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app endif |