X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/2b78277fa96ebf26fe69ad4d1ef9dfb8c2599009..fc83c7648c73765a72c74175b6952a0fda80dd00:/debian/patches/debian-specific/build_doc_adjustments.diff?ds=inline diff --git a/debian/patches/debian-specific/build_doc_adjustments.diff b/debian/patches/debian-specific/build_doc_adjustments.diff index 4722704..71424b0 100644 --- a/debian/patches/debian-specific/build_doc_adjustments.diff +++ b/debian/patches/debian-specific/build_doc_adjustments.diff @@ -1,27 +1,27 @@ +Use links(1) to generate the HTML manual page + --- a/doc/Makefile.am +++ b/doc/Makefile.am -@@ -100,8 +100,9 @@ uninstall-local: +@@ -100,7 +100,8 @@ check: - manual.txt: manual.html db-cleanup.xsl -- -xsltproc --nonet -o manual-txt.html $(srcdir)/db-cleanup.xsl manual.html || cp manual.html manual-txt.html -- -lynx -dump -nolist -with_backspaces manual-txt.html > $@ || \ -+ xsltproc --nonet -o manual-txt.html $(srcdir)/db-cleanup.xsl manual.html || cp manual.html manual-txt.html -+ links.main -dump $^ > $@ || links -dump $^ > $@ || \ -+ lynx -dump -nolist -with_backspaces manual-txt.html > $@ || \ - w3m -dump manual-txt.html > $@ || \ - elinks -dump -no-numbering -no-references manual-txt.html > $@ + manual.txt: manual.html +- -LC_ALL=C lynx -dump -nolist -with_backspaces manual.html > $@ || \ ++ links.main -dump $< > $@ || links -dump $< > $@ || \ ++ LC_ALL=C lynx -dump -nolist -with_backspaces manual.html > $@ || \ + LC_ALL=C w3m -dump manual.html > $@ || \ + LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@ -@@ -115,10 +116,10 @@ stamp-doc-rc: $(top_srcdir)/init.h maked +@@ -114,10 +115,10 @@ touch stamp-doc-rc - manual.html: $(srcdir)/html.xsl stamp-doc-xml + manual.html: $(srcdir)/html.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css - -xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml + xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml - stamp-doc-chunked: $(srcdir)/chunk.xsl stamp-doc-xml + stamp-doc-chunked: $(srcdir)/chunk.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css - -xsltproc --nonet $(srcdir)/chunk.xsl manual.xml + xsltproc --nonet $(srcdir)/chunk.xsl manual.xml touch stamp-doc-chunked - $(HTML_DOCFILES): stamp-doc-chunked + $(CHUNKED_DOCFILES): stamp-doc-chunked