1
Fork 0
mirror of https://github.com/Steffo99/cfig.git synced 2024-12-22 22:24:21 +00:00
cfig/docs/Makefile

23 lines
657 B
Makefile
Raw Normal View History

export SPHINXOPTS =
export SPHINXBUILD = "sphinx-build"
export SOURCEDIR = "."
export BUILDDIR = "_build"
2022-04-19 02:09:05 +00:00
export LATEXMKOPTS ?= ""
export LATEXOPTS ?= "-interaction=nonstopmode"
2022-04-19 02:09:05 +00:00
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
livehtml:
sphinx-autobuild "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
2022-04-19 02:09:05 +00:00
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)