diff options
author | rupak | 2020-01-21 15:20:25 +0530 |
---|---|---|
committer | rupak | 2020-01-21 15:20:25 +0530 |
commit | 36aca8aaaee5cf8cb5452268fd07c0b558b000a3 (patch) | |
tree | 97a39a1561849978ea3d45228d3a51c74bc46ac0 /help/cleaner_help.sce | |
parent | 777c4c1cc8e7d2632149bd87b79e60fd2f0e7e50 (diff) | |
download | FOSSEE-Communication-Systems-Toolbox-36aca8aaaee5cf8cb5452268fd07c0b558b000a3.tar.gz FOSSEE-Communication-Systems-Toolbox-36aca8aaaee5cf8cb5452268fd07c0b558b000a3.tar.bz2 FOSSEE-Communication-Systems-Toolbox-36aca8aaaee5cf8cb5452268fd07c0b558b000a3.zip |
created a scilab toolbox structure
Diffstat (limited to 'help/cleaner_help.sce')
-rw-r--r-- | help/cleaner_help.sce | 21 |
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; |