summaryrefslogtreecommitdiff
path: root/help/builder_help.sce
diff options
context:
space:
mode:
authoravinashlalotra2025-04-29 01:25:58 +0530
committeravinashlalotra2025-04-29 01:25:58 +0530
commitec6379e7494ff4ca2dc7c7524013d109be450bae (patch)
treecb208dd421d39051d85f4ef0476c9208ef2c41ab /help/builder_help.sce
parentc42c9cce8b94cb55cac759aa80d3fe831c53013e (diff)
downloadFOSSEE-Signal-Processing-Toolbox-ec6379e7494ff4ca2dc7c7524013d109be450bae.tar.gz
FOSSEE-Signal-Processing-Toolbox-ec6379e7494ff4ca2dc7c7524013d109be450bae.tar.bz2
FOSSEE-Signal-Processing-Toolbox-ec6379e7494ff4ca2dc7c7524013d109be450bae.zip
Building help from Sci during toolbox building for Devlopment period
Diffstat (limited to 'help/builder_help.sce')
-rw-r--r--help/builder_help.sce16
1 files changed, 15 insertions, 1 deletions
diff --git a/help/builder_help.sce b/help/builder_help.sce
index 814c854..9b8e6de 100644
--- a/help/builder_help.sce
+++ b/help/builder_help.sce
@@ -16,7 +16,21 @@ 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/");
+
+if (isdir(help_dir + "/en_US/"))then
+ xmlfiles = findfiles(help_dir + "/en_US/", "*.xml");
+ if ~isempty(xmlfiles) then
+ root_tlbx = toolbox_dir;
+ exec(help_dir + "cleaner_help.sce");
+ clear root_tlbx
+ end
+ help_from_sci(toolbox_dir+"/macros/",help_dir+"/en_US/");
+end
+
+if ~(isdir(toolbox_dir+ "/jar/")) then
+ mkdir(toolbox_dir+ "/jar/");
+end
+
tbx_builder_help_lang("en_US", help_dir);
clear toolbox_title;