Skip to content

Commit

Permalink
doc: Makefile: Switch to Ninja as a generator
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
carlescufi authored and nashif committed Jul 19, 2018
1 parent e182dbc commit f84caef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ SPHINXOPTS ?= -q
# Documentation targets
# ---------------------------------------------------------------------------
htmldocs:
mkdir -p ${BUILDDIR} && cmake -G"Unix Makefiles" -DDOC_TAG=${DOC_TAG} -DSPHINXOPTS=${SPHINXOPTS} -B${BUILDDIR} -Hdoc/ && make -s -C ${BUILDDIR} htmldocs
mkdir -p ${BUILDDIR} && cmake -GNinja -DDOC_TAG=${DOC_TAG} -DSPHINXOPTS=${SPHINXOPTS} -B${BUILDDIR} -Hdoc/ && ninja -C ${BUILDDIR} htmldocs

0 comments on commit f84caef

Please sign in to comment.