From b4d1191e162911fb9ccada354303adaa8ceef25c Mon Sep 17 00:00:00 2001 From: Detlef Arend <79243976+detlefarend@users.noreply.github.com> Date: Mon, 12 Feb 2024 16:47:26 +0100 Subject: [PATCH] Create Makefile --- doc/rtd/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/rtd/Makefile diff --git a/doc/rtd/Makefile b/doc/rtd/Makefile new file mode 100644 index 0000000..b2d7d91 --- /dev/null +++ b/doc/rtd/Makefile @@ -0,0 +1,23 @@ +# Minimal makefile for Sphinx documentation +# + +# You can set these variables from the command line, and also +# from the environment for the first two. +SPHINXOPTS ?= +SPHINXBUILD ?= sphinx-build +SOURCEDIR = . +BUILDDIR = _build + +# Put it first so that "make" without argument is like "make help". +help: + @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + +.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) $(O) + +autobuild: Makefile + sphinx-autobuild "$(SOURCEDIR)" "$(BUILDDIR)"/html