]> git.sesse.net Git - vlc/blobdiff - doc/developer/Makefile
Fix [10fcb9f9c3c73d13340c0bd4153fc4c9c87b7186] (win doesn't have setenv).
[vlc] / doc / developer / Makefile
index bbd8ba0abe91cd291145eb41f922b0355faa795e..8a14bd6521008771357e6e56d09d207ae8f66513 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for VideoLAN Doc
-#  Clément Stenac
+#  Clément Stenac
 #  Anil Daoud
 
 XSLTPROC=xsltproc
@@ -9,6 +9,7 @@ JADE=jade
 XML_DECL := /usr/share/sgml/declaration/xml.decl
 XSL_CHUNK = videolan-doc-chunk.xsl
 XSL = videolan-doc.xsl
+XSL_TXT = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/html.xsl
 
 all: manual
 
@@ -32,9 +33,7 @@ manual.pdf: *.xml
        
 # TXT
 manual.txt:  *.xml
-       $(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
+       xsltproc $(XSL_TXT) manual.xml > manual.txt
 
 clean:
        rm -f manual.txt manual.pdf