diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-18 19:30:39 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-18 19:30:39 (GMT) |
commit | 0d57f4a3ead49e5c0abc074fb24db517a1dd3e7c (patch) | |
tree | 0ca3e1c47a157567f670a8238f2998cc4200d6c1 | |
parent | 989b62569c5b780bda973d8ad5fadd8a83b54b79 (diff) | |
download | CMake-0d57f4a3ead49e5c0abc074fb24db517a1dd3e7c.zip CMake-0d57f4a3ead49e5c0abc074fb24db517a1dd3e7c.tar.gz CMake-0d57f4a3ead49e5c0abc074fb24db517a1dd3e7c.tar.bz2 |
BUG: make sure help has global targets
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 4b17ded..ee5279e 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -808,8 +808,6 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule lg->AppendEcho(commands,"... all (the default if no target is provided)"); lg->AppendEcho(commands,"... clean"); lg->AppendEcho(commands,"... depend"); - lg->AppendEcho(commands,"... install"); - lg->AppendEcho(commands,"... rebuild_cache"); // Keep track of targets already listed. std::set<cmStdString> emittedTargets; @@ -832,6 +830,7 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule (t->second.GetType() == cmTarget::STATIC_LIBRARY) || (t->second.GetType() == cmTarget::SHARED_LIBRARY) || (t->second.GetType() == cmTarget::MODULE_LIBRARY) || + (t->second.GetType() == cmTarget::GLOBAL_TARGET) || (t->second.GetType() == cmTarget::UTILITY)) { if(emittedTargets.insert(t->second.GetName()).second) |