summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorMike Gelfand <mikedld@mikedld.com>2017-01-12 22:12:57 (GMT)
committerBrad King <brad.king@kitware.com>2017-01-13 14:16:16 (GMT)
commit1b63ce865e86596ad7df3cf39df827434c986f22 (patch)
treec209c0576438696826c1233e4c3162f83aafbde4 /Source/cmLocalUnixMakefileGenerator3.cxx
parent728820f3ea0faf55ffe1236a44a35e9197fc6291 (diff)
downloadCMake-1b63ce865e86596ad7df3cf39df827434c986f22.zip
CMake-1b63ce865e86596ad7df3cf39df827434c986f22.tar.gz
CMake-1b63ce865e86596ad7df3cf39df827434c986f22.tar.bz2
Makefiles: Make fast local and strip install truly fast
When using a Makefiles generator, `install/local/fast` and `install/strip/fast` targets are not at all fast. They depend on `install/local` and `install/strip` targets respectively instead of `preinstall/fast` and don't contain any commands instead of repeating commands in `install/local` and `install/strip`. The issue was introduced by simple typos in commits v2.6.0~2825 (Adding install/local global target for Makefile generators, 2006-08-29) and v2.6.0~1743 (add install/strip target for makefile generators, 2007-05-18).
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index ba17f81..41a4caf 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1592,8 +1592,8 @@ void cmLocalUnixMakefileGenerator3::WriteLocalAllRules(
// Provide a "/fast" version of the target.
depends.clear();
- if ((targetName == "install") || (targetName == "install_local") ||
- (targetName == "install_strip")) {
+ if ((targetName == "install") || (targetName == "install/local") ||
+ (targetName == "install/strip")) {
// Provide a fast install target that does not depend on all
// but has the same command.
depends.push_back("preinstall/fast");