Update sphinx.mk

This commit is contained in:
stsh 2022-03-01 14:29:33 +01:00 committed by GitHub Enterprise
parent 820e4350d7
commit 71ab7db1ba
1 changed files with 2 additions and 2 deletions

View File

@ -12,9 +12,9 @@ BUILDDIR = build
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
.PHONY: help sphinx.mk
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
%: sphinx.mk
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)