[Cmake-commits] [cmake-commits] martink committed cmGlobalUnixMakefileGenerator3.cxx 1.129 1.130

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jun 6 10:22:54 EDT 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv25919

Modified Files:
	cmGlobalUnixMakefileGenerator3.cxx 
Log Message:
ENH: fix for bug 6364, extra help targets when there are subdirectories of the top level


Index: cmGlobalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalUnixMakefileGenerator3.cxx,v
retrieving revision 1.129
retrieving revision 1.130
diff -C 2 -d -r1.129 -r1.130
*** cmGlobalUnixMakefileGenerator3.cxx	29 May 2008 15:50:33 -0000	1.129
--- cmGlobalUnixMakefileGenerator3.cxx	6 Jun 2008 14:22:51 -0000	1.130
***************
*** 957,970 ****
            }
          }
-       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",
--- 957,970 ----
            }
          }
        }
      }
+   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",



More information about the Cmake-commits mailing list