[tor-commits] [stem/master] Removing autogenerated rst files via clean target
atagar at torproject.org
atagar at torproject.org
Wed Jun 6 04:30:17 UTC 2012
commit 241359c043c3ffb2d2d15d24cacad6c9d7fd0ae7
Author: Damian Johnson <atagar at torproject.org>
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
More information about the tor-commits
mailing list