From: sassmann Date: Mon, 17 Apr 2017 12:15:56 +0000 (+0200) Subject: use w3m as default for generating UTF8 manual.txt (#491) X-Git-Tag: neomutt-20170421~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce33ee7292787a90f57aadafab31f82d9b705823;p=neomutt use w3m as default for generating UTF8 manual.txt (#491) The input for manual.txt is manual.html which is UTF8 encoded. Now forcing manual.txt to be ascii leads to all sorts of "?" in the ascii file, which is not nice. If we have UTF8 input we should also use UTF8 for the output. Moved w3m to be the default to generate UTF8 manual.txt. If you prefer manual.txt to be ascii the fallbacks lynx or elinks will still produce plain ascii. Signed-off-by: Stefan Assmann --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 98b59e4b0..1e4aaed37 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -127,8 +127,8 @@ uninstall-local: check: manual.txt: manual.html - -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@ || \ - LC_ALL=C w3m -dump manual.html > $@ || \ + -LC_ALL=C w3m -dump -O UTF8 manual.html > $@ || \ + LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@ || \ LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@ Muttrc: stamp-doc-rc