summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/Package_soffice_sh.mk4
-rw-r--r--scp2/source/ooo/common_brand.scp13
2 files changed, 16 insertions, 1 deletions
diff --git a/desktop/Package_soffice_sh.mk b/desktop/Package_soffice_sh.mk
index 00e149c267e2..757c6817e8f9 100644
--- a/desktop/Package_soffice_sh.mk
+++ b/desktop/Package_soffice_sh.mk
@@ -9,6 +9,8 @@
$(eval $(call gb_Package_Package,desktop_soffice_sh,$(call gb_CustomTarget_get_workdir,desktop/soffice)))
-$(eval $(call gb_Package_add_file,desktop_soffice_sh,bin/soffice,soffice.sh))
+$(eval $(call gb_Package_set_outdir,desktop_soffice_sh,$(INSTDIR)))
+
+$(eval $(call gb_Package_add_file,desktop_soffice_sh,$(gb_PROGRAMDIRNAME)/soffice,soffice.sh))
# vim:set noet sw=4 ts=4:
diff --git a/scp2/source/ooo/common_brand.scp b/scp2/source/ooo/common_brand.scp
index 59918cba6ea1..e706330ebe3e 100644
--- a/scp2/source/ooo/common_brand.scp
+++ b/scp2/source/ooo/common_brand.scp
@@ -500,6 +500,17 @@ End
#endif
+#if !defined MACOSX && !defined WNT
+
+File gid_Brand_File_Bin_Soffice
+ BIN_FILE_BODY;
+ Dir = FILELIST_DIR;
+ Name = "desktop_soffice_sh.filelist";
+ Styles = (FILELIST, PACKED);
+End
+
+#else
+
File gid_Brand_File_Bin_Soffice
BIN_FILE_BODY;
Dir = gid_Brand_Dir_Program;
@@ -513,6 +524,8 @@ File gid_Brand_File_Bin_Soffice
#endif
End
+#endif
+
#if defined(UNX) && !defined(MACOSX) && !defined(LIBO_HEADLESS)
File gid_Brand_File_Bin_Spadmin
BIN_FILE_BODY;