diff options
author | Antoine du HAMEL <duhamelantoine1995@gmail.com> | 2020-09-05 01:50:29 +0300 |
---|---|---|
committer | Derek Lewis <DerekNonGeneric@inf.is> | 2020-09-06 23:22:22 +0300 |
commit | 8ae2f479549be295250867d20cfe17ceb68f72c4 (patch) | |
tree | 619c92cf56e51264dd338f21a08861bbae7a26c8 /Makefile | |
parent | 2b2208e01a9ddb09276484e10cf4065a1f9a61a1 (diff) |
tools: fix doc build targets
Adds doc output directory as order-only prerequisite for build target.
PR-URL: https://github.com/nodejs/node/pull/35060
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -738,7 +738,7 @@ out/doc/api/assets: if [ -d doc/api/assets ]; then cp -r doc/api/assets out/doc/api; fi; # If it's not a source tarball, we need to copy assets from doc/api_assets -out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets +out/doc/api/assets/%: doc/api_assets/% | out/doc/api/assets @cp $< $@ ; $(RM) out/doc/api/assets/README.md @@ -751,7 +751,7 @@ gen-api = tools/doc/generate.js --node-version=$(FULLVERSION) \ --versions-file=$(VERSIONS_DATA) gen-apilink = tools/doc/apilinks.js $(LINK_DATA) $(wildcard lib/*.js) -$(LINK_DATA): $(wildcard lib/*.js) tools/doc/apilinks.js +$(LINK_DATA): $(wildcard lib/*.js) tools/doc/apilinks.js | out/doc $(call available-node, $(gen-apilink)) # Regenerate previous versions data if the current version changes @@ -760,14 +760,14 @@ $(VERSIONS_DATA): CHANGELOG.md src/node_version.h tools/doc/versions.js out/doc/api/%.json out/doc/api/%.html: doc/api/%.md tools/doc/generate.js \ tools/doc/markdown.js tools/doc/html.js tools/doc/json.js \ - tools/doc/apilinks.js $(VERSIONS_DATA) | $(LINK_DATA) + tools/doc/apilinks.js $(VERSIONS_DATA) | $(LINK_DATA) out/doc/api $(call available-node, $(gen-api)) out/doc/api/all.html: $(apidocs_html) tools/doc/allhtml.js \ - tools/doc/apilinks.js + tools/doc/apilinks.js | out/doc/api $(call available-node, tools/doc/allhtml.js) -out/doc/api/all.json: $(apidocs_json) tools/doc/alljson.js +out/doc/api/all.json: $(apidocs_json) tools/doc/alljson.js | out/doc/api $(call available-node, tools/doc/alljson.js) .PHONY: docopen |