summaryrefslogtreecommitdiff
path: root/doc/fi
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2010-01-10 20:40:00 -0800
committerDaniel Burrows <dburrows@debian.org>2010-01-10 20:40:00 -0800
commitb70e830e161b081ed7bde87ffd04c2e74a57f059 (patch)
tree5ad64885a1b6633ef0c8cc60979f84b15d3c0d69 /doc/fi
parent8d46b9536df13a6f9f4e121ddcbfc6bc4610950f (diff)
downloadaptitude-b70e830e161b081ed7bde87ffd04c2e74a57f059.tar.gz
Switch from html2text to elinks for generating the flat text documentation.
This should resolve a lot of complaints from users about encoding issues in the text manual.
Diffstat (limited to 'doc/fi')
-rw-r--r--doc/fi/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/fi/Makefile.am b/doc/fi/Makefile.am
index 97ee0b8e..3c92fe6c 100644
--- a/doc/fi/Makefile.am
+++ b/doc/fi/Makefile.am
@@ -14,6 +14,8 @@ localemandir=$(mandir)/$(LANGCODE)
# Automake automagically distributes README without asking..
README=README.$(LANGCODE)
+HTML2TEXT=$(srcdir)/../html-to-text
+
IMAGES = $(wildcard images/*.png)
all-local: doc-stamp
@@ -41,10 +43,10 @@ $(MANPAGE): aptitude.xml manpage.xml $(srcdir)/../aptitude-man.xsl
mv output-man/aptitude.8 $(MANPAGE)
/bin/bash $(srcdir)/fixman
-$(README): aptitude.xml manpage.xml $(srcdir)/../aptitude-txt.xsl $(srcdir)/../aptitude-common.xsl $(srcdir)/../aptitude-txt.style
+$(README): aptitude.xml manpage.xml $(srcdir)/../aptitude-txt.xsl $(srcdir)/../aptitude-common.xsl
-rm -fr output-txt/
xsltproc -o output-txt/index.html $(srcdir)/../aptitude-txt.xsl $(srcdir)/aptitude.xml
- html2text -width 80 -ascii -nobs -rcfile $(srcdir)/../aptitude-txt.style output-txt/index.html | $(srcdir)/../fixup-text > $(README)
+ $(HTML2TEXT) output-txt/index.html > $(README)
doc-css-stamp: doc-html-stamp $(srcdir)/../aptitude.css
rm -f output-html/aptitude.css