File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,11 @@ test-all-suites: | clear-stalled test-build bench-addons-build doc-only ## Run a
488488
489489CI_NATIVE_SUITES ?= addons js-native-api node-api
490490CI_JS_SUITES ?= default
491- CI_DOC := doctool
491+ ifeq ($(node_use_openssl ) , false)
492+ CI_DOC := doctool
493+ else
494+ CI_DOC =
495+ endif
492496
493497.PHONY : test-ci-native
494498# Build and test addons without building anything else
@@ -700,7 +704,11 @@ tools/doc/node_modules: tools/doc/package.json
700704.PHONY : doc-only
701705doc-only : tools/doc/node_modules \
702706 $(apidoc_dirs ) $(apiassets ) # # Builds the docs with the local or the global Node.js binary.
703- @$(MAKE ) out/doc/api/all.html out/doc/api/all.json
707+ @if [ " $( shell $( node_use_openssl) ) " != " true" ]; then \
708+ echo " Skipping doc-only (no crypto)" ; \
709+ else \
710+ $(MAKE ) out/doc/api/all.html out/doc/api/all.json; \
711+ fi
704712
705713.PHONY : doc
706714doc : $(NODE_EXE ) doc-only
You can’t perform that action at this time.
0 commit comments