From 0d57f4a3ead49e5c0abc074fb24db517a1dd3e7c Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 18 Apr 2006 15:30:39 -0400 Subject: BUG: make sure help has global targets --- Source/cmGlobalUnixMakefileGenerator3.cxx | 3 +-- 1 file changed, 1 insertion(+), 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 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) -- cgit v1.2.1