]> git.sesse.net Git - vlc/blob - doc/developer2/Makefile
Beginning of un updated developer documentation and beginning of playlist documentation
[vlc] / doc / developer2 / Makefile
1 XSLTPROC=xsltproc
2 DOC := vlc-dev-doc
3
4 XML_DECL1 = /usr/lib/sgml/declaration/xml.decl
5 XML_DECL2 = /usr/share/sgml/declaration/xml.decl
6 XML_DECL = `test -f $(XML_DECL1) && echo $(XML_DECL1) || echo $(XML_DECL2)`
7
8 XSL= videolan-doc.xsl
9
10 all: en/$(DOC).html
11
12 init:
13         mkdir -p en
14         cp screen.css en
15
16 en/$(DOC).html : init
17         xsltproc $(XSL) $(DOC).xml > en/$(DOC).html
18         mv *.html en
19
20 clean:
21         rm -rf en