summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJRGJON2016-10-07 17:25:23 +0530
committerGitHub2016-10-07 17:25:23 +0530
commit7ec0918ef7f6b2728128d4ca13da53ca7fd75d01 (patch)
tree5cc1605ec28b4ce198d420bc5c23945d613fba9e
parentdd83fefd5139ebce995ff5a0466df42bf08299cd (diff)
downloadFOSSEE-Optimization-toolbox-7ec0918ef7f6b2728128d4ca13da53ca7fd75d01.tar.gz
FOSSEE-Optimization-toolbox-7ec0918ef7f6b2728128d4ca13da53ca7fd75d01.tar.bz2
FOSSEE-Optimization-toolbox-7ec0918ef7f6b2728128d4ca13da53ca7fd75d01.zip
Help documentation only for GUI mode
Help documentation fails to build in cli-mode as the documentation are based on Java features which are not available in the mode. Rectified by making it available only for GUI mode.
-rw-r--r--builder.sce6
1 files changed, 5 insertions, 1 deletions
diff --git a/builder.sce b/builder.sce
index e1f4760..55df1b5 100644
--- a/builder.sce
+++ b/builder.sce
@@ -32,7 +32,11 @@ toolbox_dir = get_absolute_file_path("builder.sce");
tbx_builder_macros(toolbox_dir);
tbx_builder_gateway(toolbox_dir);
-tbx_builder_help(toolbox_dir);
+
+if getscilabmode()=="STD" then
+ tbx_builder_help(toolbox_dir);
+end
+
tbx_build_loader(TOOLBOX_NAME, toolbox_dir);
tbx_build_cleaner(TOOLBOX_NAME, toolbox_dir);