mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
cfc63f9f65
git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@289 f6dd340e-d3f9-0310-b409-bdd246841980
35 lines
632 B
Text
35 lines
632 B
Text
void programs(int docs)
|
|
{
|
|
md("tmp/bin");
|
|
|
|
if (docs)
|
|
{
|
|
if (!exists("tmp/bin/htmlindex"))
|
|
{
|
|
chdir("src/htmlindex");
|
|
run("./build");
|
|
chdir("../../");
|
|
}
|
|
return;
|
|
}
|
|
|
|
if (!exists("tmp/bin/paren"))
|
|
run("g++ " CPPOPT " -o tmp/bin/paren src/paren/paren.cc -lbobcat -s");
|
|
|
|
if (!exists("tmp/bin/trim"))
|
|
run("g++ " CPPOPT " -o tmp/bin/trim src/trim/trim.cc -s");
|
|
|
|
if (!exists("tmp/bin/tab"))
|
|
{
|
|
chdir("src/tab");
|
|
run("gcc " COPT " -o ../../tmp/bin/tab *.c -lfl -s");
|
|
chdir("../../");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|