Files
pvxs/documentation/Makefile
T
Michael Davidsaver 36dabddc1f ioc: documentation
2023-05-09 22:24:19 -07:00

23 lines
509 B
Makefile

PYTHON?=python3
# documentation generation requires Doxygen and Sphinx with the breathe extension
#
# apt-get install doxygen python3-sphinx python3-breathe
all: gen
clean:
rm -rf xml pvxs.tag
rm -rf html _build
# conf.py reads CONFIG_PVXS_VERSION to extract version number
gen: ../include/pvxs/version.h
doxygen
$(PYTHON) -m sphinx -j auto -b html . html
cp qsrv2-schema-0.json html/
commit: gen
./commit-gh.sh documentation/html/ html/.nojekyll html/*.* html/_*/*.*
.PHONY: all clean gen commit