Commit c7ff8f1c authored by Anil Daoud's avatar Anil Daoud

* fixed a few rules (pdf, txt and clean)

parent f50324e5
......@@ -6,7 +6,7 @@ XSLTPROC=xsltproc
LYNX=lynx
JADE=jade
XML_DECL := /usr/lib/sgml/declaration/xml.decl
XML_DECL := /usr/share/sgml/declaration/xml.decl
XSL_CHUNK = videolan-doc-chunk.xsl
XSL = videolan-doc.xsl
......@@ -32,11 +32,11 @@ manual.pdf: *.xml
# TXT
manual.txt: *.xml
$(JADE) -t sgml -d stylesheet-txt.dsk $(XML_DECL) manual.xml > text.html
$(JADE) -t sgml -d stylesheet-txt.dsl $(XML_DECL) manual.xml > text.html
$(LYNX) -force_html -dump text.html > manual.txt
rm -f text.html
clean:
rm -f manual.txt
rm -f *.html *.aux *.log *.tex
rm -f manual.txt manual.pdf
rm -f *.html *.aux *.log *.tex *.out
rm -f html/*.html
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