InfiniTime.git

ref: 45e65b66b11b6b8533b225067ce4c2a4b5eac653

src/libs/mynewt-nimble/docs/Makefile


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Make a preview site for Sphinx & Doxygen output

SPHINXOPTS    =
SPHINXBUILD   = sphinx-build
SPHINXPROJ    = Mynewt
SOURCEDIR     = .
BUILDDIR      = _build/sphinx

.PHONY: Makefile clean preview doxygen

clean:
	rm -rf _build

preview: _build doxygen sphinx

_build:
	mkdir -p _build

doxygen:
	mkdir -p _build/html
	cd .. && doxygen docs/doxygen.xml

sphinx:
	sphinx-build . _build/sphinx
	mv _build/sphinx _build/html/documentation