build: nmk -- Move phony targets to include.mk

So they can be reused.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Cyrill Gorcunov 2017-10-22 01:16:05 +03:00 committed by Andrei Vagin
parent d62e01929e
commit 8db0f03758
2 changed files with 2 additions and 2 deletions

View file

@ -5,8 +5,6 @@ include $(__nmk_dir)include.mk
MAKEFLAGS := -r -R --no-print-directory
.PHONY: all help test docs clean install .FORCE
help:
@echo ' Targets:'
@echo ' install dir=<dir> - Install scripts into directory <dir>'

View file

@ -4,6 +4,8 @@ ifndef ____nmk_defined__msg
include $(__nmk_dir)msg.mk
endif
.PHONY: all help test docs clean install .FORCE
#
# Common vars.
SUBARCH := $(shell uname -m | sed \