build: make tools/doc/node_modules non-phony
This commit makes the target tools/doc/node_modules
a non-phony target
and also adds tools/doc/package.json
as a prerequisite to it to avoid
running it unnecessary. This is currently causing the target
test/addons/.docbuildstamp
to be always be executed as it has
tools/doc/node_modules
as a prerequisite.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines