summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrank Sachsenheim <funkyfuture@riseup.net>2017-10-04 20:31:50 +0200
committerFrank Sachsenheim <funkyfuture@riseup.net>2017-10-09 22:37:27 +0200
commitb2959a91c51594560fb7342261e23b9ce9630d37 (patch)
treed3568148ce56aad86887494a83b95afbdcf739b9 /Makefile
parent26796f6985ec52216a0e05e4b995d1c1e7c4d597 (diff)
downloadsphinx-git-b2959a91c51594560fb7342261e23b9ce9630d37.tar.gz
Makefile: Adds a target to build docs from the root dir.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6e07a8c05..5257b2ad5 100644
--- a/Makefile
+++ b/Makefile
@@ -114,3 +114,10 @@ covertest:
.PHONY: build
build:
@$(PYTHON) setup.py build
+
+.PHONY: docs
+docs:
+ifndef target
+ $(info You need to give a provide a target variable, e.g. `make docs target=html`.)
+endif
+ $(MAKE) -C doc $(target)