From 61ff46981171d0701ada1255b69cc5b31fa46291 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 7 Jun 2016 14:30:24 -0600 Subject: [PATCH] Remove generated API docs on 'make clean' Signed-off-by: Zack Cerza --- docs/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index 9e3a72f22e..6fd9f99659 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,6 +1,8 @@ # Makefile for Sphinx documentation # +GENERATED_API_DOCS = {modules,teuthology{,.openstack,.openstack.test,.orchestra,.task,.task.tests}}.rst + # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build @@ -48,7 +50,7 @@ help: @echo " doctest to run all doctests embedded in the documentation (if enabled)" clean: - rm -rf $(BUILDDIR)/* + rm -rf $(BUILDDIR)/* $(GENERATED_API_DOCS) html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html -- 2.39.5