doc: Adapt the sed expression for cleaning up links

Some lynx versions produce links of the form file:///..., others produce
file://localhost/..., so catch both forms.

Reported-by: Peter Mattern <matternp@arcor.de>
Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
This commit is contained in:
Alexander E. Patrakov 2015-03-13 18:46:57 +05:00 committed by David Henningsson
parent 015c06042b
commit 5d98266d7c
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ if USE_LYNX
dist_doc_DATA = README dist_doc_DATA = README
README: README.html README: README.html
lynx --dump $^ | sed 's,file://localhost/.*/doc/README.html,README,' > $@ lynx --dump $^ | sed 's,file://.*/doc/README.html,README,' > $@
MAINTAINERCLEANFILES += README MAINTAINERCLEANFILES += README
CLEANFILES += README CLEANFILES += README