aboutsummaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-08-05 22:52:03 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-08-05 22:52:03 +0200
commite0ec25e03d0584054b40ae63c27dbe4b06caa7bd (patch)
tree3c7f6463c673d744d2c638577e4e4a74bab805a0 /docs/Makefile
parent497d26a2755289f1633e6e3d8291a13254e4a5b7 (diff)
downloadee-python-e0ec25e03d0584054b40ae63c27dbe4b06caa7bd.tar.gz
ee-python-e0ec25e03d0584054b40ae63c27dbe4b06caa7bd.tar.bz2
ee-python-e0ec25e03d0584054b40ae63c27dbe4b06caa7bd.tar.xz
ee-python-e0ec25e03d0584054b40ae63c27dbe4b06caa7bd.zip
o More docs for the ee project.
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile23
1 files changed, 18 insertions, 5 deletions
diff --git a/docs/Makefile b/docs/Makefile
index aa8ba09..c4c66da 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -2,11 +2,14 @@
#
# You can set these variables from the command line.
-SPHINXOPTS =
-SPHINXBUILD = sphinx-build
-SPHINXPROJ = EETools
-SOURCEDIR = .
-BUILDDIR = _build
+SPHINXOPTS =
+SPHINXBUILD = sphinx-build
+SPHINXAUTOBUILD = sphinx-autobuild
+SPHINXPROJ = EETools
+SOURCEDIR = .
+BUILDDIR = _build
+
+PATH:=$(shell pwd)/env/bin:$(PATH)
# Put it first so that "make" without argument is like "make help".
help:
@@ -18,3 +21,13 @@ help:
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+
+clean:
+ rm -rf "$(BUILDDIR)"
+
+autobuild:
+ "$(SPHINXAUTOBUILD)" "$(SOURCEDIR)" "$(BUILDDIR)" \
+ --ignore '*___jb_old___' \
+ --ignore '*___jb_tmp___'
+
+.PHONY: clean