summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-18 15:30:39 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-18 15:30:39 -0400
commit0d57f4a3ead49e5c0abc074fb24db517a1dd3e7c (patch)
tree0ca3e1c47a157567f670a8238f2998cc4200d6c1
parent989b62569c5b780bda973d8ad5fadd8a83b54b79 (diff)
downloadcmake-0d57f4a3ead49e5c0abc074fb24db517a1dd3e7c.tar.gz
BUG: make sure help has global targets
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index 4b17ded8e6..ee5279e0c6 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)