Changeset 5319:c64cb80a90a6 for doc

Show
Ignore:
Timestamp:
2007-11-29 06:24:38 (12 months ago)
Author:
Rocco Rutte <pdmef@…>
Branch:
HEAD
Message:

Add a really ugly hack to make sure the plain text manual is us-ascii.
The hack is filtering manual.html to another HTML file but replacing
unicode chars by their ascii equivalents. The intermediate file is used
to dump HTML to us-ascii text (and only for that).

Location:
doc
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • doc/Makefile.am

    r5290 r5319  
    2828        Muttrc Muttrc.head stamp-doc-rc \ 
    2929        makedoc.c makedoc-defs.h        \ 
     30        db-cleanup.xsl                  \ 
    3031        html.xsl chunk.xsl $(BUILT_DISTFILES) 
    3132 
     
    99100 
    100101check: 
    101 manual.txt: manual.html 
    102         -lynx -dump -nolist -with_backspaces $^ > $@ || \ 
    103         w3m -dump $^ > $@ || \ 
    104         elinks -dump -no-numbering -no-references $^ > $@ 
     102manual.txt: manual.html db-cleanup.xsl 
     103        -xsltproc --nonet -o manual-txt.html $(srcdir)/db-cleanup.xsl manual.html || cp manual.html manual-txt.html 
     104        -lynx -dump -nolist -with_backspaces manual-txt.html > $@ || \ 
     105        w3m -dump manual-txt.html > $@ || \ 
     106        elinks -dump -no-numbering -no-references manual-txt.html > $@ 
    105107 
    106108Muttrc: stamp-doc-rc