summaryrefslogtreecommitdiff
path: root/scp2
diff options
context:
space:
mode:
Diffstat (limited to 'scp2')
-rw-r--r--scp2/AutoInstall.mk1
-rw-r--r--scp2/InstallModule_draw.mk4
-rw-r--r--scp2/source/draw/file_draw.scp4
-rw-r--r--scp2/source/draw/folderitem_draw.scp4
-rw-r--r--scp2/source/draw/module_draw.scp4
5 files changed, 12 insertions, 5 deletions
diff --git a/scp2/AutoInstall.mk b/scp2/AutoInstall.mk
index eaa1666caa3a..1bad46f3aab1 100644
--- a/scp2/AutoInstall.mk
+++ b/scp2/AutoInstall.mk
@@ -18,6 +18,7 @@ $(eval $(call gb_AutoInstall_add_module,brand,,LIBO_EXECUTABLE))
$(eval $(call gb_AutoInstall_add_module,calc,LIBO_LIB_FILE))
$(eval $(call gb_AutoInstall_add_module,calc_brand,,LIBO_EXECUTABLE))
$(eval $(call gb_AutoInstall_add_module,crashrep,,LIBO_EXECUTABLE))
+$(eval $(call gb_AutoInstall_add_module,draw_brand,,LIBO_EXECUTABLE))
$(eval $(call gb_AutoInstall_add_module,extensions_bsh,,,LIBO_JAR_FILE))
$(eval $(call gb_AutoInstall_add_module,extensions_rhino,,,LIBO_JAR_FILE))
$(eval $(call gb_AutoInstall_add_module,gnome,LIBO_LIB_FILE))
diff --git a/scp2/InstallModule_draw.mk b/scp2/InstallModule_draw.mk
index 0ec9c4f61d01..a7c02bef4bac 100644
--- a/scp2/InstallModule_draw.mk
+++ b/scp2/InstallModule_draw.mk
@@ -9,6 +9,10 @@
$(eval $(call gb_InstallModule_InstallModule,scp2/draw))
+$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/draw,\
+ draw_brand \
+))
+
$(eval $(call gb_InstallModule_define_if_set,scp2/draw,\
ENABLE_MACOSX_SANDBOX \
))
diff --git a/scp2/source/draw/file_draw.scp b/scp2/source/draw/file_draw.scp
index 74285e0ed00f..4f8d610d7feb 100644
--- a/scp2/source/draw/file_draw.scp
+++ b/scp2/source/draw/file_draw.scp
@@ -33,11 +33,11 @@ File gid_File_Help_Sdraw_Zip
End
#endif
-#ifndef MACOSX
+#if !defined MACOSX && !defined WNT
File gid_File_Exe_Sdraw
BIN_FILE_BODY;
Dir = gid_Brand_Dir_Program;
- Name = EXENAME(sdraw);
+ Name = "sdraw";
Styles = (PACKED);
End
#endif
diff --git a/scp2/source/draw/folderitem_draw.scp b/scp2/source/draw/folderitem_draw.scp
index f6927072fe7e..5dc8757e96f3 100644
--- a/scp2/source/draw/folderitem_draw.scp
+++ b/scp2/source/draw/folderitem_draw.scp
@@ -23,8 +23,8 @@ FolderItem gid_Folderitem_Sdraw
Name = "%PRODUCTNAME Draw";
ModuleID = gid_Module_Prg_Draw_Bin;
FolderID = gid_Folder_Staroffice51;
- FileID = gid_File_Exe_Sdraw;
- IconFile = gid_File_Exe_Sdraw;
+ FileID = auto_draw_brand_exe_sdraw;
+ IconFile = auto_draw_brand_exe_sdraw;
IconID = 0;
WkDir = gid_Brand_Dir_Program;
Parameter = "";
diff --git a/scp2/source/draw/module_draw.scp b/scp2/source/draw/module_draw.scp
index c0dc5811f005..a2db15d9aac0 100644
--- a/scp2/source/draw/module_draw.scp
+++ b/scp2/source/draw/module_draw.scp
@@ -18,6 +18,8 @@
#include "macros.inc"
+#include "AutoInstall/draw_brand"
+
Module gid_Module_Prg_Draw
MOD_NAME_DESC ( MODULE_PRG_DRAW );
ParentID = gid_Module_Prg;
@@ -48,7 +50,7 @@ Module gid_Module_Brand_Prg_Draw
Minimal = YES;
Default = YES;
Styles = (HIDDEN_ROOT);
- Files = (gid_File_Exe_Sdraw);
+ Files = (auto_draw_brand_ALL,gid_File_Exe_Sdraw);
End
Module gid_Module_Langpack_Draw_Template