Commit 427b44e2 authored by Anil Daoud's avatar Anil Daoud

* the txt rule now uses xsltproc. faster and nicer

parent bdf5e89a
...@@ -9,6 +9,7 @@ JADE=jade ...@@ -9,6 +9,7 @@ JADE=jade
XML_DECL := /usr/share/sgml/declaration/xml.decl XML_DECL := /usr/share/sgml/declaration/xml.decl
XSL_CHUNK = videolan-doc-chunk.xsl XSL_CHUNK = videolan-doc-chunk.xsl
XSL = videolan-doc.xsl XSL = videolan-doc.xsl
XSL_TXT = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/html.xsl
all: manual all: manual
...@@ -32,9 +33,7 @@ manual.pdf: *.xml ...@@ -32,9 +33,7 @@ manual.pdf: *.xml
# TXT # TXT
manual.txt: *.xml manual.txt: *.xml
$(JADE) -t sgml -d stylesheet-txt.dsl $(XML_DECL) manual.xml > text.html xsltproc $(XSL_TXT) manual.xml > manual.txt
$(LYNX) -force_html -dump text.html > manual.txt
# rm -f text.html
clean: clean:
rm -f manual.txt manual.pdf rm -f manual.txt manual.pdf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment