doc: makefile: adjust default Sphinx options
Adjust default options to match the ones in CMake. Quote options when invoking CMake. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
bf5065d742
commit
402ebf52c7
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
BUILDDIR ?= _build
|
||||
DOC_TAG ?= development
|
||||
SPHINXOPTS ?= -q
|
||||
SPHINXOPTS ?= -j auto
|
||||
KCONFIG_TURBO_MODE ?= 0
|
||||
|
||||
# Documentation targets
|
||||
|
@ -23,7 +23,7 @@ htmldocs pdfdocs doxygen: configure
|
|||
.PHONY: configure
|
||||
configure:
|
||||
cmake -GNinja -B${BUILDDIR} -S. -DDOC_TAG=${DOC_TAG} \
|
||||
-DSPHINXOPTS=${SPHINXOPTS} \
|
||||
-DSPHINXOPTS="${SPHINXOPTS}" \
|
||||
-DKCONFIG_TURBO_MODE=${KCONFIG_TURBO_MODE}
|
||||
|
||||
clean:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue