File: clean

package info (click to toggle)
natlog 3.01.00-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,912 kB
  • sloc: cpp: 3,691; fortran: 201; sh: 133; ansic: 123; makefile: 110
file content (32 lines) | stat: -rw-r--r-- 578 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
void clean(int dist)
{
    run("rm -rf "
            "build-stamp configure-stamp "
            "options/SKEL "
            "tmp/*.o" + 
            " o */o release.yo tmp/lib*.a "    
            "parser/grammar.output"
    );


    if (dist)
        run("rm -rf spch tmp *.ih.gch */*.ih.gch");

    chdir("documentation");

    run("rm -rf "
            "man/*.1 "
            "man/*.3* "
            "man/*.html "
            "manual/*.html "
            "manual/invoking/usage "
            "manual/invoking/usage.txt "
            "usage/usage "
    );

    exit(0);
}