Skip to content

Commit 98c38c0

Browse files
avivkelleraduh95
andauthored
Update Makefile
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 5c33cde commit 98c38c0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,19 +1493,19 @@ tools/.mdlintstamp: tools/lint-md/node_modules/remark-parse/package.json $(LINT_
14931493
@$(call available-node,$(run-lint-md))
14941494
@touch $@
14951495

1496-
tools/.manpagelintstamp: doc/api/cli.md tools/doc/node_modules doc/node.1
1497-
$(info Verifying that doc/node.1 is up to date...)
1496+
tools/.manpagelintstamp: doc/node.1 doc/api/cli.md tools/doc/node_modules
1497+
$(info Verifying that $< is up to date...)
14981498
@if [ "$(shell $(node_use_openssl_and_icu))" != "true" ]; then \
1499-
echo "Skipping doc/node.1 verification (no crypto and/or no ICU)"; \
1499+
echo "Skipping $< verification (no crypto and/or no ICU)"; \
15001500
else \
15011501
$(RM) -r out/doc/.manpagecheck && \
15021502
$(call available-node, \
15031503
$(DOC_KIT) generate \
15041504
-v $(VERSION) \
15051505
--config-file tools/doc/man-page.doc-kit.config.mjs \
15061506
) \
1507-
if ! diff -u doc/node.1 out/doc/.manpagecheck/node.1; then \
1508-
echo 'doc/node.1 is out of date; run `make node.1` to regenerate it.'; \
1507+
if ! diff -u $< out/doc/.manpagecheck/node.1; then \
1508+
echo '$< is out of date; run `make node.1` to regenerate it.' >&2; \
15091509
exit 1; \
15101510
fi; \
15111511
fi

0 commit comments

Comments
 (0)