File: install

package info (click to toggle)
c++-annotations 11.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 11,244 kB
  • sloc: cpp: 21,698; makefile: 1,505; ansic: 165; sh: 121; perl: 90
file content (33 lines) | stat: -rw-r--r-- 1,167 bytes parent folder | download | duplicates (3)
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
33
void install(string base)
{
    g_installing = 1;

#ifdef DOC
    logZip("", "README README.papersize COPYING README.legalese changelog",
            base + DOC);
    logZip("tmp/docs/txt", "cplusplus.txt", base + DOC);

    logZip_r("tmp/docs", "html", "cplusplus.html.zip", base + DOC);
    logZip_r("tmp/docs/latex", "cplusplus*.ps", "cplusplus.ps.zip", 
                                                        base + DOC);
    logZip_r("tmp/docs/latex", "cplusplus*.pdf", "cplusplus.pdf.zip", 
                                                        base + DOC);
    logZip_r("tmp/docs/latex", "* -x cplusplus*.pdf -x cplusplus*ps", 
                "cplusplus.latex.zip", base + DOC);
    #ifdef MAN
        logZip("tmp/manhtml", "c++-annotations-man.html", base + DOC);
    #endif

    logInstall("contributions", "*.zip", base + DOC "/contrib");
    logZip("contributions", "GGD.algorithm "
                "chist.html chist.pdf chist.ps "
                "java_cpp_keywords.html", base + DOC "/contrib");
#endif

#ifdef MAN
    logZip("tmp/man", "c++-annotations.7", base + MAN "/man7");
#endif 

    printf("\n  Installation completed\n");
    writeLog();
}