diff options
author | shpelda <shpelda@seznam.cz> | 2010-06-20 01:57:43 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-06-21 00:12:19 +0200 |
commit | ad75190ca665da01940b0c01e12b767f29dc8bc0 (patch) | |
tree | 67504e9a1ffb5640f0d7b2b52d2e9b284120d3ec | |
parent | 1dbb5ce9e0dfe2b857020290b29e2e22321985ef (diff) | |
download | ranger-ad75190ca665da01940b0c01e12b767f29dc8bc0.tar.gz |
commited pydocs are author agnostic
-rw-r--r-- | Makefile | 3 |
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 |