Add doxygen to standard build flow, if found

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-06-13 23:26:37 +02:00
1 parent 7b1e0eb551
commit da080c886d
7 files changed
+644 -5

No files matched your search

+13
View File
@@ -8,6 +8,19 @@ if ENABLE_EXAMPLES
SUBDIRS += examples
endif
if ENABLE_DOXYGEN
SUBDIRS += doc
.PHONY: doc
doc:
$(MAKE) -C @top_builddir@/doc $@
## The distribution should include man pages, which are generated
dist-hook: doc
else
doc:
@echo "Doxygen documentation (html + man) disabled, skipping ..."
endif
## Check if tagged in git
release-hook:
@if [ ! `git tag | grep $(PACKAGE_VERSION)` ]; then \