Skip to content

Commit

Permalink
Tie in the doc build flags with the top level Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaycedowell committed May 29, 2024
1 parent b2d56a6 commit 6efaa73
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ DAT_DIR = share
SRC_DIR = src

HAVE_PYTHON = @HAVE_PYTHON@

HAVE_DOCKER = @HAVE_DOCKER@

CAN_BUILD_CXX_DOCS = @HAVE_CXX_DOCS@
CAN_BUILD_PYTHON_DOCS = @HAVE_PYTHON_DOCS@

BIFROST_PYTHON_DIR = python

all: libbifrost python
Expand Down Expand Up @@ -63,8 +67,13 @@ ifeq ($(HAVE_PYTHON),1)
endif
.PHONY: uninstall

doc: $(INC_DIR)/bifrost/*.h Doxyfile
doc: $(INC_DIR)/bifrost/*.h Doxyfile docs/source/*.rst docs/source/*.py
ifeq ($(CAN_BUILD_CXX_DOCS),1)
@DX_DOXYGEN@ Doxyfile
endif
ifeq ($(CAN_BUILD_PYTHON_DOCS),1)
$(MAKE) -C docs singlehtml
endif
.PHONY: doc

python: libbifrost
Expand Down

0 comments on commit 6efaa73

Please sign in to comment.