From 85e5c9d549aa268c1293a8efe20ecb25a49e2343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Goul=C3=A3o?= Date: Mon, 14 Aug 2023 16:47:26 +0100 Subject: [PATCH] add docs Makefile --- .gitignore | 1 + docs/Makefile | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 docs/Makefile diff --git a/.gitignore b/.gitignore index a1a7f833d..2fd378716 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ ViZDoomVersion.h viz_version.h Makefile +!docs/Makefile ImportExecutables.cmake **/link-make cmake-build-* diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 000000000..73a28c713 --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,20 @@ +# 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)