You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
393 B
21 lines
393 B
XSLTPROC=xsltproc
|
|
DOC := vlc-dev-doc
|
|
|
|
XML_DECL1 = /usr/lib/sgml/declaration/xml.decl
|
|
XML_DECL2 = /usr/share/sgml/declaration/xml.decl
|
|
XML_DECL = `test -f $(XML_DECL1) && echo $(XML_DECL1) || echo $(XML_DECL2)`
|
|
|
|
XSL= videolan-doc.xsl
|
|
|
|
all: en/$(DOC).html
|
|
|
|
init:
|
|
mkdir -p en
|
|
cp screen.css en
|
|
|
|
en/$(DOC).html : init
|
|
xsltproc $(XSL) $(DOC).xml > en/$(DOC).html
|
|
mv *.html en
|
|
|
|
clean:
|
|
rm -rf en
|
|
|