mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-02 18:07:59 +00:00
Now that CMake is supported for building the docs, adapt the instructions to build the documentation to the new mechanism and also adapt the root-level Makefile to support building using CMake. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
11 lines
300 B
Makefile
11 lines
300 B
Makefile
#
|
|
# Top level makefile for things not covered by cmake
|
|
#
|
|
|
|
BUILDDIR ?= doc/_build
|
|
|
|
# Documentation targets
|
|
# ---------------------------------------------------------------------------
|
|
htmldocs:
|
|
mkdir -p ${BUILDDIR} && cmake -G"Unix Makefiles" -B${BUILDDIR} -Hdoc/ && make -s -C ${BUILDDIR} htmldocs
|