summaryrefslogtreecommitdiff
path: root/help/cleaner_help.sce
blob: a2b5e7ef2e2fdc1a079a57288ca0b3e2c57225c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;