Put doxygen in sphinx

This commit is contained in:
2022-03-10 15:00:08 +01:00
parent 93ea08db81
commit 50cc81772c
3 changed files with 9 additions and 9 deletions

View File

@@ -1,14 +1,19 @@
DOXYGEN_INDEX = doxygen/html/index.html
# variables
#
SPHINX_BUILD_DIR = build
DOXYGEN_INDEX = $(SPHINX_BUILD_DIR)/doxygen/html/index.html
# rules
#
all: doxygen sphinx
.PHONY: sphinx doxygen
doxygen: $(DOXYGEN_INDEX)
$(DOXYGEN_INDEX):
mkdir -p $(@D)
doxygen Doxyfile
SPHINX_BUILD_DIR = sphinx
$(SPHINX_BUILD_DIR)/index.html: index.rst atrip.rst conf.py
sphinx-build . $(SPHINX_BUILD_DIR)
sphinx: $(SPHINX_BUILD_DIR)/index.html