1
Use links(1) to generate the HTML manual page
1
3
--- a/doc/Makefile.am
2
4
+++ b/doc/Makefile.am
3
@@ -100,8 +100,9 @@ uninstall-local:
6
manual.txt: manual.html db-cleanup.xsl
7
- -xsltproc --nonet -o manual-txt.html $(srcdir)/db-cleanup.xsl manual.html || cp manual.html manual-txt.html
8
- -lynx -dump -nolist -with_backspaces manual-txt.html > $@ || \
9
+ xsltproc --nonet -o manual-txt.html $(srcdir)/db-cleanup.xsl manual.html || cp manual.html manual-txt.html
8
manual.txt: manual.html
9
- -LC_ALL=C lynx -dump -nolist -with_backspaces manual.html > $@ || \
10
10
+ links.main -dump $< > $@ || links -dump $< > $@ || \
11
+ lynx -dump -nolist -with_backspaces manual-txt.html > $@ || \
12
w3m -dump manual-txt.html > $@ || \
13
elinks -dump -no-numbering -no-references manual-txt.html > $@
11
+ LC_ALL=C lynx -dump -nolist -with_backspaces manual.html > $@ || \
12
LC_ALL=C w3m -dump manual.html > $@ || \
13
LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@
15
@@ -115,10 +116,10 @@ stamp-doc-rc: $(top_srcdir)/init.h maked
18
manual.html: $(srcdir)/html.xsl stamp-doc-xml
18
manual.html: $(srcdir)/html.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css
19
19
- -xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml
20
20
+ xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml
22
stamp-doc-chunked: $(srcdir)/chunk.xsl stamp-doc-xml
22
stamp-doc-chunked: $(srcdir)/chunk.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css
23
23
- -xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
24
24
+ xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
25
25
touch stamp-doc-chunked
27
$(HTML_DOCFILES): stamp-doc-chunked
27
$(CHUNKED_DOCFILES): stamp-doc-chunked