ENH: fix for bug 6364, extra help targets when there are subdirectories of the top level

This commit is contained in:
Ken Martin 2008-06-06 10:22:51 -04:00
parent 3c8ed0d600
commit fc8b27650c

View File

@ -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);