13 lines
375 B
Makefile
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
|