doc: Makefil: Propagate Make options
In order to build with different themes, propagate the theme options through the Makefile to CMake. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
f0de6e06f8
commit
b3d2de7163
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -3,8 +3,10 @@
|
|||
#
|
||||
|
||||
BUILDDIR ?= doc/_build
|
||||
DOC_TAG ?= development
|
||||
SPHINXOPTS ?= -q
|
||||
|
||||
# Documentation targets
|
||||
# ---------------------------------------------------------------------------
|
||||
htmldocs:
|
||||
mkdir -p ${BUILDDIR} && cmake -G"Unix Makefiles" -B${BUILDDIR} -Hdoc/ && make -s -C ${BUILDDIR} htmldocs
|
||||
mkdir -p ${BUILDDIR} && cmake -G"Unix Makefiles" -DDOC_TAG=${DOC_TAG} -DSPHINXOPTS=${SPHINXOPTS} -B${BUILDDIR} -Hdoc/ && make -s -C ${BUILDDIR} htmldocs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue