InfiniTime.git

ref: 0ce98c7ac7ba66acaf504be9bb042796e12f2733

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