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();
}
|