summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2016-12-31 10:30:47 -0800
committerBob Halley <halley@dnspython.org>2016-12-31 10:30:47 -0800
commitd1289a7d1a0ffc9a26b2c2f87b96b947a5b261ab (patch)
treef3e8022bcd2f438d2374f8c8911655136d9ed67f /doc/Makefile
parent5e87e2d2c7a5c84d2fd721ae2647656693c6af0a (diff)
downloaddnspython-d1289a7d1a0ffc9a26b2c2f87b96b947a5b261ab.tar.gz
initial Sphinx work
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..ff97397
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,20 @@
+# Minimal makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS =
+SPHINXBUILD = sphinx-build
+SPHINXPROJ = dnspython
+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) \ No newline at end of file