mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 21:41:03 +00:00
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).
This commit is contained in:
parent
728820f3ea
commit
1b63ce865e
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user