Detect alternatives to w3m
Francois Gouget
fgouget at free.fr
Wed Oct 8 08:56:01 CDT 2003
I did not know about w3m before I saw this patch. More well-known and
widely spread alternatives are lynx and links which are command-line
compatible with w3m. So I propose to also look for them.
Changelog:
* documentation/Makefile.in
Use links or lynx if w3m is missing.
Index: documentation/Makefile.in
===================================================================
RCS file: /home/cvs/wine/documentation/Makefile.in,v
retrieving revision 1.39
diff -u -r1.39 Makefile.in
--- documentation/Makefile.in 2 Oct 2003 04:28:17 -0000 1.39
+++ documentation/Makefile.in 8 Oct 2003 11:38:10 -0000
@@ -80,7 +80,10 @@
$(DB2PS) $<
.html.txt:
- w3m -dump $< > $@ || ($(RM) $@ && false)
+ type lynx 2>/dev/null && W3M="lynx"; \
+ type links 2>/dev/null && W3M="links"; \
+ type w3m 2>/dev/null && W3M="w3m"; \
+ "$$W3M" -dump $< > $@ || ($(RM) $@ && false)
wine-devel.pdf wine-devel.ps wine-devel.html: $(WINE_DEVEL_SRCS)
wine-user.pdf wine-user.ps wine-user.html: $(WINE_USER_SRCS)
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
1 + e ^ ( i * pi ) = 0
More information about the wine-patches
mailing list