From a721b9640732c60d282896cdf64691758ffe8bca Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 3 Feb 2004 10:25:51 -0500 Subject: [PATCH] ENH: Cleanup output --- Source/cmLocalGenerator.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 48f147985..4c8262e15 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -254,8 +254,10 @@ void cmLocalGenerator::AddInstallRule(std::ostream& fout, const char* dest, case cmTarget::INSTALL_FILES: default: stype = "FILE"; break; } + std::string fname = cmSystemTools::GetFilenameName(sfiles.c_str()); fout - << "MESSAGE(STATUS \"Install " << stype << ": " << sfiles.c_str() << "\")\n" + << "MESSAGE(STATUS \"Installing " << destination.c_str() + << "/" << fname.c_str() << "\")\n" << "FILE(INSTALL DESTINATION \"" << destination.c_str() << "\" TYPE " << stype.c_str() << (optional?" OPTIONAL":"") << " FILES \"" << sfiles.c_str() << "\")\n";