From fc8b27650c00ff867c5d636c2f9a8e1d8d4905f2 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 6 Jun 2008 10:22:51 -0400 Subject: [PATCH] ENH: fix for bug 6364, extra help targets when there are subdirectories of the top level --- Source/cmGlobalUnixMakefileGenerator3.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 789170d07f..ebd228d24b 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -956,16 +956,16 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule } } } - std::vector const& localHelp = lg->GetLocalHelp(); - for(std::vector::const_iterator o = localHelp.begin(); - o != localHelp.end(); ++o) - { - path = "... "; - path += *o; - lg->AppendEcho(commands, path.c_str()); - } } } + std::vector const& localHelp = lg->GetLocalHelp(); + for(std::vector::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);