]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Remove generated API docs on 'make clean'
authorZack Cerza <zack@redhat.com>
Tue, 7 Jun 2016 20:30:24 +0000 (14:30 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 9 Jun 2016 19:46:46 +0000 (13:46 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
docs/Makefile

index 9e3a72f22ea9e7feb6b12fe037cac7a2585d612d..6fd9f99659ae0fb1da66717ad14b0794a3069f40 100644 (file)
@@ -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