From: Zack Cerza Date: Tue, 7 Jun 2016 20:30:24 +0000 (-0600) Subject: Remove generated API docs on 'make clean' X-Git-Tag: 1.1.0~598^2~9 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=61ff46981171d0701ada1255b69cc5b31fa46291;p=teuthology.git Remove generated API docs on 'make clean' Signed-off-by: Zack Cerza --- 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