On Sat, Jun 20, 2009 at 11:37:40AM +0100, Antonio Radici wrote:
> Cool! let me discuss this with Christoph, hopefully it will be integrated!
---end quoted text---

I modified debian-specific/build_doc_adjustments.diff patch to pass the 
"-dump-charset utf8" to elinks, please find the modfied patch in the 
attachment.

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
Use links(1) to generate the HTML manual page

--- mutt-1.5.20.orig/doc/Makefile.am
+++ mutt-1.5.20/doc/Makefile.am
@@ -100,9 +100,10 @@
 
 check:
 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' > $@
+	LC_ALL=C elinks -dump -no-numbering -dump-charset utf8 -no-references manual.html | sed -e 's,\\001, ,g' > $@
 
 Muttrc: stamp-doc-rc
 
@@ -114,10 +115,10 @@
 	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
+	xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
 	touch stamp-doc-chunked
 
 $(CHUNKED_DOCFILES): stamp-doc-chunked

Reply via email to