Skip to content

Commit

Permalink
build: fix LINT_MD_NEWER assignment
Browse files Browse the repository at this point in the history
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: #32614 (comment)

PR-URL: #32712
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
Trott authored and targos committed Apr 11, 2020
1 parent 809d42c commit d7b526c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d7b526c

Please sign in to comment.