docs/Makefile: man generation fails unless html docs are built first

This commit is contained in:
Andrew J. Hesford 2023-09-19 20:14:28 -04:00
parent d7caa8c450
commit 2a04b2005a
1 changed files with 3 additions and 0 deletions

View File

@ -69,5 +69,8 @@ $(VENV)/req_done: requirements.txt $(VENV)/success
$(VENV)/bin/pip install $(PIP_FLAGS) -U -r requirements.txt
@touch $(VENV)/req_done
# Man-page generation fails unless HTML documentation is built first
man:: html
%:: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)