Skip to content

tools: fix docopen target

Adds to prerequisites the output file to open. Previously, this would open an out-of-date version of the file, or fail if it has not been built before.

$(apidocs_html) is part of out/doc/api/all.html prerequisites, it's safe use out/doc/api/all.html as the only prerequisite here.

https://github.com/nodejs/node/blob/f3b484652731f7782fd077b5e1e7d6804caed2f8/Makefile#L766-L768

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading