Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2017-05-15 21:24:43 +0300
committerDaniel Bevenius <daniel.bevenius@gmail.com>2017-05-17 13:34:41 +0300
commitad7b98baa84172d1c6de1ed0a06be6aad9f6f3db (patch)
treea313c566ea05375366188353ac578a324477bff4 /Makefile
parentf2ba06db92ea561e23f93e85ba29404abfe74b1a (diff)
build: don't print directory for GNUMake
Currently when running make targets the directory is printed on some operating systems (Linux for example): $ make lint make[1]: Entering directory '/work/node' Running JS linter... ./node tools/eslint/bin/eslint.js --cache --rulesdir=tools/eslint-rules --ext=.js,.md \ benchmark doc lib test tools make[1]: Leaving directory '/work/node' make[1]: Entering directory '/work/node' Running C++ linter... On other operating systems the directory is not printed. This commit suggests adding a flag to make this consistent for GNUMake by not printing the directory. PR-URL: https://github.com/nodejs/node/pull/13042 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9034037049b..a97c85fa714 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,7 @@ LOGLEVEL ?= silent
OSTYPE := $(shell uname -s | tr '[A-Z]' '[a-z]')
COVTESTS ?= test
GTEST_FILTER ?= "*"
+GNUMAKEFLAGS += --no-print-directory
ifdef JOBS
PARALLEL_ARGS = -j $(JOBS)