minor fixes
This commit is contained in:
parent
079e8469ab
commit
50a1f8a5e4
|
@ -799,6 +799,7 @@ void cmLocalUnixMakefileGenerator::OutputUtilityRule(std::ostream& fout,
|
|||
std::string comment = "Rule to build Utility ";
|
||||
comment += name;
|
||||
std::string depends;
|
||||
std::string replaceVars;
|
||||
const std::vector<cmCustomCommand> &ccs = t.GetCustomCommands();
|
||||
for(std::vector<cmCustomCommand>::const_iterator i = ccs.begin();
|
||||
i != ccs.end(); ++i)
|
||||
|
@ -808,14 +809,13 @@ void cmLocalUnixMakefileGenerator::OutputUtilityRule(std::ostream& fout,
|
|||
d != dep.end(); ++d)
|
||||
{
|
||||
depends += " \\\n";
|
||||
depends += *d;
|
||||
replaceVars = *d;
|
||||
m_Makefile->ExpandVariablesInString(replaceVars);
|
||||
depends += this->ConvertToOutputPath(replaceVars.c_str());
|
||||
}
|
||||
}
|
||||
this->OutputMakeRule(fout,
|
||||
comment.c_str(),
|
||||
name,
|
||||
depends.c_str(),
|
||||
cc);
|
||||
this->OutputMakeRule(fout, comment.c_str(), name,
|
||||
depends.c_str(), cc);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue