X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/72ac627fd7f017a392afab5a5a737d1026664135..880f1a1b94ee90f9d5a3b2d66b9cbeee4fe0acd4:/debian/patches/debian-specific/build_doc_adjustments.diff?ds=sidebyside diff --git a/debian/patches/debian-specific/build_doc_adjustments.diff b/debian/patches/debian-specific/build_doc_adjustments.diff index be710cc..6a5159f 100644 --- a/debian/patches/debian-specific/build_doc_adjustments.diff +++ b/debian/patches/debian-specific/build_doc_adjustments.diff @@ -1,19 +1,25 @@ ---- doc/Makefile.in.orig -+++ doc/Makefile.in -@@ -111,13 +111,13 @@ +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -98,7 +98,8 @@ uninstall-local: check: manual.txt: manual.html -- -lynx -dump -nolist -with_backspaces $^ > $@ || w3m -dump $^ > $@ -+ /usr/bin/links.main -dump $^ > $@ || links -dump $^ > $@ +- -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' > $@ - manual.html: $(srcdir)/html.xsl stamp-doc-xml +@@ -112,10 +113,10 @@ stamp-doc-rc: $(top_srcdir)/init.h maked + touch stamp-doc-rc + + 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 - manual.pdf: manual.tex + $(HTML_DOCFILES): stamp-doc-chunked