1 Use w3m to build the txt manual
8 manual.txt: manual.html
9 - -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@ || \
10 - LC_ALL=C w3m -dump manual.html > $@ || \
11 - LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@
12 + LC_ALL=C w3m -dump -O UTF-8 manual.html > $@
19 manual.html: $(srcdir)/html.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css
20 - -xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml
21 + xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml
23 stamp-doc-chunked: $(srcdir)/chunk.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css
24 - -xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
25 + xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
26 touch stamp-doc-chunked
28 $(CHUNKED_DOCFILES): stamp-doc-chunked