[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Removing autogenerated rst files via clean target



commit 241359c043c3ffb2d2d15d24cacad6c9d7fd0ae7
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sun Jun 3 13:13:49 2012 -0700

    Removing autogenerated rst files via clean target
    
    The html target creates some rst files, so removing them when 'make clean' is
    ran.
---
 docs/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/Makefile b/docs/Makefile
index b868f11..22f3516 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -35,10 +35,10 @@ help:
 
 clean:
 	-rm -rf $(BUILDDIR)/*
+	@rm -f ./stem.* ./modules.rst
 
 html:
-	@rm -rf /tmp/stem_docs
-	@sphinx-apidoc -o /tmp/stem_docs ../stem
+	@sphinx-apidoc -f -o /tmp/stem_docs ../stem
 	@rsync --size-only /tmp/stem_docs/* .
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
 	@echo



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits