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,6 +956,8 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
std::vector<cmStdString> const& localHelp = lg->GetLocalHelp();
|
std::vector<cmStdString> const& localHelp = lg->GetLocalHelp();
|
||||||
for(std::vector<cmStdString>::const_iterator o = localHelp.begin();
|
for(std::vector<cmStdString>::const_iterator o = localHelp.begin();
|
||||||
o != localHelp.end(); ++o)
|
o != localHelp.end(); ++o)
|
||||||
@ -964,8 +966,6 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule
|
|||||||
path += *o;
|
path += *o;
|
||||||
lg->AppendEcho(commands, path.c_str());
|
lg->AppendEcho(commands, path.c_str());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
lg->WriteMakeRule(ruleFileStream, "Help Target",
|
lg->WriteMakeRule(ruleFileStream, "Help Target",
|
||||||
"help",
|
"help",
|
||||||
no_depends, commands, true);
|
no_depends, commands, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user