about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-06-21 00:18:32 +0200
committerhut <hut@lavabit.com>2010-06-21 00:21:46 +0200
commit25a4162d4249c0c148438bfa2255c9f6af702569 (patch)
tree8a67ad4bffd702a91dc49a19158a26ffc0cdd5c5
parentad75190ca665da01940b0c01e12b767f29dc8bc0 (diff)
downloadranger-25a4162d4249c0c148438bfa2255c9f6af702569.tar.gz
make doc: minor cleanup and fix
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cc9fff9c..57db7b11 100644
--- a/Makefile
+++ b/Makefile
@@ -61,11 +61,11 @@ doc: cleandoc
 		$(PYTHON) -c 'import pydoc, sys; \
 		sys.path[0] = "$(CWD)"; \
 		pydoc.writedocs("$(CWD)")'
-	rm $(DOCDIR)/test*; \
+	rm $(DOCDIR)/test*
 	find . -name \*.html -exec sed -i 's|'$(CWD)'|../..|g' -- {} \;
 
 cleandoc:
-	test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html
+	test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html || true
 
 test:
 	@$(PYTHON) test/all_tests.py 1