Commit faa8bae6 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Andrei Vagin

nmk: Don't include deps on mrproper

mrproper doesn't require inclusion of deps similar
as clean target.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
Reviewed-by: 's avatarDmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 314801b9
...@@ -270,7 +270,7 @@ define collect-deps ...@@ -270,7 +270,7 @@ define collect-deps
endef endef
ifneq ($(MAKECMDGOALS),) ifneq ($(MAKECMDGOALS),)
ifneq ($(MAKECMDGOALS),clean) ifneq ($(filter-out clean mrproper,$(MAKECMDGOALS)),)
$(foreach goal,$(MAKECMDGOALS),$(eval $(call collect-deps,$(goal)))) $(foreach goal,$(MAKECMDGOALS),$(eval $(call collect-deps,$(goal))))
deps-y := $(call uniq,$(deps-y)) deps-y := $(call uniq,$(deps-y))
ifneq ($(deps-y),) ifneq ($(deps-y),)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment