From 546a9ea99862a284a01fe3bfb4bdca5b1f86752f Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 7 Apr 2020 16:34:53 -0700 Subject: [PATCH] build: fix LINT_MD_NEWER assignment Indentation with a tab breaks the functionality, resulting in linting all .md files when any one is changed. For consistency with the rest of the Makefile and to restore functionality, remove indentation. Refs: https://github.com/nodejs/node/pull/32614#issuecomment-610670779 PR-URL: https://github.com/nodejs/node/pull/32712 Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ccb9bc0152b6a6..594dec3aa844ce 100644 --- a/Makefile +++ b/Makefile @@ -1229,9 +1229,9 @@ lint-md-build: $(warning "Deprecated no-op target 'lint-md-build'") ifeq ("$(wildcard tools/.mdlintstamp)","") - LINT_MD_NEWER = +LINT_MD_NEWER = else - LINT_MD_NEWER = -newer tools/.mdlintstamp +LINT_MD_NEWER = -newer tools/.mdlintstamp endif LINT_MD_TARGETS = doc src lib benchmark test tools/doc tools/icu $(wildcard *.md)