• Kir Kolyshkin's avatar
    nmk: remove no-print-directory from MAKEFLAGS · eac39343
    Kir Kolyshkin authored
    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: 's avatarKir Kolyshkin <kir@openvz.org>
    Reviewed-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Acked-by: 's avatarAndrey Vagin <avagin@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    eac39343
Name
Last commit
Last update
..
build Loading commit data...
nmk Loading commit data...
crit-setup.py Loading commit data...
fake-restore.sh Loading commit data...
feature-tests.mak Loading commit data...
gen-offsets.sh Loading commit data...
magic-gen.py Loading commit data...
protobuf-gen.sh Loading commit data...
travis-tests Loading commit data...