aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-02-21 16:44:34 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-02-21 16:44:34 -0700
commitf4346c21894702bce72c522545a43fdab3e8edf7 (patch)
tree75a78109f864dd07f53ba7c292dabe3ec4a78eea /doc/Makefile
parenta49358817d14f59a8bff50012925a462871f116e (diff)
downloadconsfigurator-f4346c21894702bce72c522545a43fdab3e8edf7.tar.gz
add Sphinx config
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..50d9481
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,9 @@
+SPHINXOPTS ?=
+SPHINXBUILD ?= sphinx-build
+SOURCEDIR = .
+BUILDDIR = _build
+
+# 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)