[PATCH pavucontrol] doc: Adapt the sed expression for cleaning up links

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Reported-by: Peter Mattern <matternp at arcor.de>
Signed-off-by: Alexander E. Patrakov <patrakov at gmail.com>
---
 doc/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index d4b50be..06b2b10 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -25,7 +25,7 @@ CLEANFILES =
 
 if USE_LYNX
 README: README.html
-	lynx --dump $^ | sed 's,file://localhost/.*/doc/README.html,README,' > $@
+	lynx --dump $^ | sed 's,file://.*/doc/README.html,README,' > $@
 
 CLEANFILES += README
 endif
-- 
2.3.0



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux