summaryrefslogtreecommitdiff
path: root/help/cleaner_help.sce
diff options
context:
space:
mode:
authorrupak2019-08-09 18:23:51 +0530
committerrupak2019-08-09 18:23:51 +0530
commit85bde50698bbdfd891ef194cd700d9a659bd50cd (patch)
tree5b09ea04150f1e11a18022e2145817d84828d563 /help/cleaner_help.sce
downloadfossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.tar.gz
fossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.tar.bz2
fossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.zip
first commit
Diffstat (limited to 'help/cleaner_help.sce')
-rw-r--r--help/cleaner_help.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/help/cleaner_help.sce b/help/cleaner_help.sce
new file mode 100644
index 0000000..a2b5e7e
--- /dev/null
+++ b/help/cleaner_help.sce
@@ -0,0 +1,21 @@
+// This file is released under the 3-clause BSD license. See COPYING-BSD.
+
+function cleaner_help()
+ path = get_absolute_file_path("cleaner_help.sce");
+ langdirs = dir(path);
+ langdirs = langdirs.name(langdirs.isdir);
+
+ for l = 1:size(langdirs, "*")
+ masterfile = fullpath(path + filesep() + langdirs(l) + "/master_help.xml");
+ mdelete(masterfile);
+
+ jarfile = fullpath(path + "/../jar/scilab_" + langdirs(l) + "_help.jar");
+ mdelete(jarfile);
+
+ tmphtmldir = fullpath(path + "/" + langdirs(l) + "/scilab_" + langdirs(l) + "_help");
+ rmdir(tmphtmldir, "s");
+ end
+endfunction
+
+cleaner_help();
+clear cleaner_help;