criu/scripts/nmk/scripts
Kir Kolyshkin eac393431e nmk: remove no-print-directory from MAKEFLAGS
The problem with --no-print-directory set by default is when we
run :make from vim and compilation performed by a sub-make fails,
vim can't figure out the correct path to a file with error, so
instead of jumping to the position of the first error, it opens
a new empty file.

When make prints "Entering directory ..." and "Leaving directory ..."
messages, vim :make works as intended.

[Alternatively, we could add -w to $(MAKE) invocations where needed,
but the problem is --no-print-directory overrides -w even if -w comes
later in the options list, so -w is not working. I was also thinking
about detecting whether we are running from vim, but when we'll need
to add detection for emacs etc., so let's keep things simple.]

Cc: Andrey Vagin <avagin@openvz.org>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-02-26 14:57:44 +03:00
..
build.mk build/nmk: rename $@-ldflags-y to LDFLAGS_$@ 2016-02-24 13:12:19 +03:00
include.mk nmk: remove no-print-directory from MAKEFLAGS 2016-02-26 14:57:44 +03:00
macro.mk build: nmk -- Initial import 2016-02-15 15:32:20 +03:00
main.mk build: nmk -- Initial import 2016-02-15 15:32:20 +03:00
msg.mk build/nmk: define map and newline 2016-02-20 13:38:26 +03:00
rules.mk build: nmk -- Initial import 2016-02-15 15:32:20 +03:00
tools.mk nmk: add cscope, etags and ctags wrappers 2016-02-24 23:25:40 +03:00
utils.mk build: nmk -- Initial import 2016-02-15 15:32:20 +03:00