ENH: fix for bug 6364, extra help targets when there are subdirectories of the top level
This commit is contained in:
parent
3c8ed0d600
commit
fc8b27650c
@ -956,16 +956,16 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule
|
||||
}
|
||||
}
|
||||
}
|
||||
std::vector<cmStdString> const& localHelp = lg->GetLocalHelp();
|
||||
for(std::vector<cmStdString>::const_iterator o = localHelp.begin();
|
||||
o != localHelp.end(); ++o)
|
||||
{
|
||||
path = "... ";
|
||||
path += *o;
|
||||
lg->AppendEcho(commands, path.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
std::vector<cmStdString> const& localHelp = lg->GetLocalHelp();
|
||||
for(std::vector<cmStdString>::const_iterator o = localHelp.begin();
|
||||
o != localHelp.end(); ++o)
|
||||
{
|
||||
path = "... ";
|
||||
path += *o;
|
||||
lg->AppendEcho(commands, path.c_str());
|
||||
}
|
||||
lg->WriteMakeRule(ruleFileStream, "Help Target",
|
||||
"help",
|
||||
no_depends, commands, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user