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 <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
pull/32712/head
Rich Trott 2020-04-07 16:34:53 -07:00
parent ea4b0bcb3c
commit 203776fb71
1 changed files with 2 additions and 2 deletions

View File

@ -1233,9 +1233,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)