aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-03-23 15:04:17 +0100
committern-peugnet <n.peugnet@free.fr>2022-03-23 15:04:17 +0100
commitab81c3dc8f415b013374c32b7328bc2bc9dd2758 (patch)
tree6f51bd24616e3c2c44bb947adac1fcb6b85e73d1 /Makefile
parent7b329c6143bbb615366c67db16ca8c6ae57e5448 (diff)
downloadclub1-docs-ab81c3dc8f415b013374c32b7328bc2bc9dd2758.tar.gz
club1-docs-ab81c3dc8f415b013374c32b7328bc2bc9dd2758.zip
very first add of club1 docs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4bb2cb..51e3ffa 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
+SPHINXCMDS = clean html latexpdf man
SOURCEDIR = .
BUILDDIR = _build
@@ -12,7 +13,11 @@ BUILDDIR = _build
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
-.PHONY: help Makefile
+.PHONY: help Makefile $(SPHINXCMDS)
+
+# Explicit Sphinx commands for autocompletion.
+$(SPHINXCMDS):
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).