You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

566076-build_doc_adjustments.patch 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From: Antonio Radici <antonio@debian.org>
  2. Date: Thu, 27 Feb 2014 16:25:39 +0100
  3. Subject: 566076-build_doc_adjustments
  4. Use w3m to build the txt manual.
  5. Gbp-Pq: Topic debian-specific
  6. ---
  7. doc/Makefile.am | 8 +++-----
  8. 1 file changed, 3 insertions(+), 5 deletions(-)
  9. diff --git a/doc/Makefile.am b/doc/Makefile.am
  10. index f4e21bc..3676245 100644
  11. --- a/doc/Makefile.am
  12. +++ b/doc/Makefile.am
  13. @@ -106,9 +106,7 @@ uninstall-local:
  14. check:
  15. manual.txt: manual.html
  16. - -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@ || \
  17. - LC_ALL=C w3m -dump manual.html > $@ || \
  18. - LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@
  19. + LC_ALL=C w3m -dump -O UTF-8 manual.html > $@
  20. Muttrc: stamp-doc-rc
  21. @@ -120,10 +118,10 @@ stamp-doc-rc: $(top_srcdir)/init.h makedoc$(EXEEXT) $(srcdir)/Muttrc.head
  22. touch stamp-doc-rc
  23. manual.html: $(srcdir)/html.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css
  24. - -xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml
  25. + xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml
  26. stamp-doc-chunked: $(srcdir)/chunk.xsl $(srcdir)/mutt.xsl stamp-doc-xml $(srcdir)/mutt.css
  27. - -xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
  28. + xsltproc --nonet $(srcdir)/chunk.xsl manual.xml
  29. touch stamp-doc-chunked
  30. $(CHUNKED_DOCFILES): stamp-doc-chunked