summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorshpelda <shpelda@seznam.cz>2010-06-20 01:57:43 +0200
committerhut <hut@lavabit.com>2010-06-21 00:12:19 +0200
commitad75190ca665da01940b0c01e12b767f29dc8bc0 (patch)
tree67504e9a1ffb5640f0d7b2b52d2e9b284120d3ec
parent1dbb5ce9e0dfe2b857020290b29e2e22321985ef (diff)
downloadranger-ad75190ca665da01940b0c01e12b767f29dc8bc0.tar.gz
commited pydocs are author agnostic
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 09463244..cc9fff9c 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,8 @@ 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