diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-06-06 14:22:51 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-06-06 14:22:51 (GMT) |
commit | fc8b27650c00ff867c5d636c2f9a8e1d8d4905f2 (patch) | |
tree | 69ae2affd1d2de5cd16ec2cec1b5f5f57a4abefc /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | 3c8ed0d600bf466ed8607711adce362dc801db02 (diff) | |
download | CMake-fc8b27650c00ff867c5d636c2f9a8e1d8d4905f2.zip CMake-fc8b27650c00ff867c5d636c2f9a8e1d8d4905f2.tar.gz CMake-fc8b27650c00ff867c5d636c2f9a8e1d8d4905f2.tar.bz2 |
ENH: fix for bug 6364, extra help targets when there are subdirectories of the top level
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 789170d..ebd228d 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -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); |