summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoravinashlalotra2025-04-27 00:52:20 +0530
committeravinashlalotra2025-04-27 00:52:20 +0530
commit9601b41a3c1984e563a6b35f24555c1caf06474c (patch)
tree3a7c4dcf6c9ce1de4a9de5a41286ddb5534f2691
parentea7dcdba3b83696b97cc431ee050b58f9a0f3507 (diff)
downloadFOSSEE-Signal-Processing-Toolbox-9601b41a3c1984e563a6b35f24555c1caf06474c.tar.gz
FOSSEE-Signal-Processing-Toolbox-9601b41a3c1984e563a6b35f24555c1caf06474c.tar.bz2
FOSSEE-Signal-Processing-Toolbox-9601b41a3c1984e563a6b35f24555c1caf06474c.zip
help from sci
-rw-r--r--builder.sce4
-rw-r--r--cleaner.sce7
-rw-r--r--help/builder_help.sce1
3 files changed, 10 insertions, 2 deletions
diff --git a/builder.sce b/builder.sce
index 57c6155..42cdd00 100644
--- a/builder.sce
+++ b/builder.sce
@@ -31,7 +31,7 @@ TOOLBOX_TITLE = "FOSSEE Signal Processing Toolbox";
toolbox_dir = get_absolute_file_path("builder.sce");
tbx_builder_help(toolbox_dir);
tbx_builder_macros(toolbox_dir);
-tbx_build_loader(TOOLBOX_NAME, toolbox_dir);
-tbx_build_cleaner(TOOLBOX_NAME, toolbox_dir);
+tbx_build_loader(toolbox_dir);
+tbx_build_cleaner(toolbox_dir);
clear toolbox_dir TOOLBOX_NAME TOOLBOX_TITLE;
diff --git a/cleaner.sce b/cleaner.sce
index 3fe66e3..5947950 100644
--- a/cleaner.sce
+++ b/cleaner.sce
@@ -49,6 +49,13 @@ function perform_clean()
if isfile(root_tlbx + "/unloader.sce") then
mdelete(root_tlbx + "/unloader.sce");
end
+
+ if isdir(root_tlbx + "/help/en_US") then
+ xmlfiles = findfiles(root_tlbx + "/help/en_US/", "*.xml");
+ if ~isempty(xmlfiles) then
+ deletefile(root_tlbx + "/help/en_US/" + xmlfiles);
+ end
+ end
endfunction
try
diff --git a/help/builder_help.sce b/help/builder_help.sce
index e0d18eb..814c854 100644
--- a/help/builder_help.sce
+++ b/help/builder_help.sce
@@ -16,6 +16,7 @@ toolbox_title = "FOSSEE_Signal_Processing_Toolbox"
help_dir = get_absolute_file_path('builder_help.sce');
+help_from_sci(toolbox_dir+"/macros/",help_dir+"/en_US/");
tbx_builder_help_lang("en_US", help_dir);
clear toolbox_title;