ENH: add PHONY targets
This commit is contained in:
parent
962a69acd4
commit
a24ff4e453
|
@ -967,7 +967,7 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule
|
|||
}
|
||||
}
|
||||
lg->WriteMakeRule(ruleFileStream, "Help Target",
|
||||
"help:",
|
||||
"help",
|
||||
no_depends, commands, true);
|
||||
ruleFileStream << "\n\n";
|
||||
}
|
||||
|
|
|
@ -638,8 +638,11 @@ cmLocalUnixMakefileGenerator3
|
|||
replace = *i;
|
||||
os << "\t" << replace.c_str() << "\n";
|
||||
}
|
||||
if(symbolic)
|
||||
{
|
||||
os << ".PHONY : " << tgt.c_str() << "\n";
|
||||
}
|
||||
os << "\n";
|
||||
|
||||
// Add the output to the local help if requested.
|
||||
if(in_help)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue