mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-02 18:07:59 +00:00
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>
13 lines
388 B
Makefile
13 lines
388 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 -G"Unix Makefiles" -DDOC_TAG=${DOC_TAG} -DSPHINXOPTS=${SPHINXOPTS} -B${BUILDDIR} -Hdoc/ && make -s -C ${BUILDDIR} htmldocs
|