zephyr/Makefile
Carles Cufi f84caef220 doc: Makefile: Switch to Ninja as a generator
Since we only document Ninja as a generator for building the
documentation, switch to it for the convenience Makefile provided.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2018-07-19 08:44:41 -04:00

13 lines
375 B
Makefile

#
# Top level makefile for things not covered by cmake
#
BUILDDIR ?= doc/_build
DOC_TAG ?= development
SPHINXOPTS ?= -q
# Documentation targets
# ---------------------------------------------------------------------------
htmldocs:
mkdir -p ${BUILDDIR} && cmake -GNinja -DDOC_TAG=${DOC_TAG} -DSPHINXOPTS=${SPHINXOPTS} -B${BUILDDIR} -Hdoc/ && ninja -C ${BUILDDIR} htmldocs