summaryrefslogtreecommitdiff
path: root/doc/de/Makefile.am
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/de/Makefile.am
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/de/Makefile.am')
-rw-r--r--doc/de/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am
index fefa3394..a9bfacbb 100644
--- a/doc/de/Makefile.am
+++ b/doc/de/Makefile.am
@@ -17,6 +17,8 @@ docdir=$(datadir)/doc/$(PACKAGE)
localemandir=$(mandir)/$(LANGCODE)
htmldir=$(docdir)/html/$(LANGCODE)
+HTML2TEXT=$(srcdir)/../html-to-text
+
IMAGES = $(wildcard images/*.png)
all-local: doc-stamp
@@ -51,10 +53,10 @@ $(MANPAGE): $(XMLSOURCES) $(srcdir)/../aptitude-man.xsl
xsltproc -o output-man/aptitude.8 $(srcdir)/../aptitude-man.xsl aptitude.xml
mv output-man/aptitude.8 $(MANPAGE)
-$(README): $(XMLSOURCES) $(srcdir)/../aptitude-txt.xsl $(srcdir)/../aptitude-txt.style
+$(README): $(XMLSOURCES) $(srcdir)/../aptitude-txt.xsl
-rm -fr output-txt
xsltproc -o output-txt/index.html $(srcdir)/../aptitude-txt.xsl 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