summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile
index ed88099..ea7a6c8 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -12,6 +12,13 @@ BUILDDIR = build
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+clean:
+ -mv build/html/.git build.html.git
+ @$(SPHINXBUILD) -M clean "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+ mkdir -p build/html/
+ -mv build.html.git build/html/.git
+
+
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new