doc.mk 333 Bytes
Newer Older
1
ifeq ($(HAS_doxygen)|$(HAS_sphinx-build), yes|yes)
2
doc-doxygen:
3
	@cd doc && $(doxygen_BIN)
4
doc-html: doc-doxygen
Petr Špaček's avatar
Petr Špaček committed
5
	@cd doc && $(sphinx-build_BIN) $(SPHINXFLAGS) -b html . html
6 7 8 9
else
doc-html:
	$(error doxygen and sphinx must be installed)
endif
10
doc-clean:
Marek Vavruša's avatar
Marek Vavruša committed
11
	rm -rf doc/doxyxml doc/*.db doc/html
12 13 14

.PHONY: doc-doxygen doc-html doc-clean