From 8f760c247611d5ef0100e7666b82cb556e89f9bc Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 16 Aug 2018 05:54:32 +0200 Subject: [PATCH] build: touch tools/doc/node_modules after run Currently, tools/doc/node_modules is not touched after running npm install resulting in npm install being run every time. I missed this while testing commit 88bff82624628df261a429386d81565023062e44 ("build: make tools/doc/node_modules non-phony"). PR-URL: https://github.com/nodejs/node/pull/22350 Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Joyee Cheung --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 4d6aa0e50f8968..1738fb04f17137 100644 --- a/Makefile +++ b/Makefile @@ -1074,6 +1074,7 @@ lint-md-build: tools/remark-cli/node_modules \ tools/doc/node_modules: tools/doc/package.json ifeq ($(node_use_openssl),true) cd tools/doc && $(call available-node,$(run-npm-install)) + @touch $@ else @echo "Skipping tools/doc/node_modules (no crypto)" endif