File: 566076-build_doc_adjustments.patch

package info (click to toggle)
mutt 2.2.12-0.1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 25,908 kB
  • sloc: ansic: 95,474; sh: 5,169; perl: 2,137; python: 548; makefile: 485; sed: 16
file content (31 lines) | stat: -rw-r--r-- 1,161 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Antonio Radici <antonio@debian.org>
Date: Thu, 27 Feb 2014 16:25:39 +0100
Subject: 566076-build_doc_adjustments

Use w3m to build the txt manual.
---
 doc/Makefile.am |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -151,9 +151,7 @@ install-data-local: makedoc-all instdoc
 
 check:
 manual.txt: manual.html
-	-LC_ALL=C lynx -localhost -dump -nolist -nonumbers -with_backspaces -display_charset=us-ascii manual.html > $@ || \
-	LC_ALL=C w3m -T text/html -I utf-8 -O utf-8 -dump < manual.html > $@ || \
-	LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@
+	LC_ALL=C w3m -dump -O UTF-8 manual.html > $@
 
 Muttrc: stamp-doc-rc
 
@@ -165,7 +163,7 @@ 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 $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css
 	-xsltproc --nonet $(srcdir)/chunk.xsl manual.xml