Skip to content
Permalink
Browse files

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>
  • Loading branch information...
carlescufi authored and nashif committed Jul 13, 2018
1 parent f0de6e0 commit b3d2de7163dce6401f5ce5addee6f84b97f9d4df
Showing with 3 additions and 1 deletion.
  1. +3 −1 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

0 comments on commit b3d2de7

Please sign in to comment.
You can’t perform that action at this time.