Mercurial > mplayer.hg
comparison DOCS/xml/Makefile.inc @ 9674:461f71ba8af4
XML version of MPlayer's doc
author | nicolas |
---|---|
date | Sun, 23 Mar 2003 23:26:55 +0000 |
parents | |
children | 970a95a4d856 |
comparison
equal
deleted
inserted
replaced
9673:4204e4523e4f | 9674:461f71ba8af4 |
---|---|
1 # | |
2 # Makefile.inc for Makefiles in sub-directories. | |
3 # | |
4 | |
5 export SGML_CATALOG_FILES | |
6 | |
7 # Use customized html.xsl file if exists... | |
8 ifeq (html.xsl,$(wildcard html.xsl)) | |
9 HTML_XSL := html.xsl | |
10 XSL_DEPS := $(HTML_XSL) ../html.xsl ../html-common.xsl | |
11 else | |
12 HTML_XSL := ../html.xsl | |
13 XSL_DEPS := $(HTML_XSL) ../html-common.xsl | |
14 endif | |
15 | |
16 # Fall back to the default HTML stylesheet if not specified. | |
17 HTML_STYLESHEET ?= ../default.css | |
18 | |
19 # This is the main target... | |
20 $(HTMLDIR)/index.html: documentation.xml $(XSL_DEPS) | |
21 -rm -f $(HTMLDIR)/* | |
22 $(XMLLINT) --noout --noent --postvalid --catalogs $< | |
23 $(XSLTPROC) --catalogs -o $(HTMLDIR)/ $(HTML_XSL) $< | |
24 cp $(HTML_STYLESHEET) $(HTMLDIR)/ | |
25 | |
26 ../html.xsl: | |
27 sh ../gen-html.xsl.sh $(CHUNK_XSL) > $@ |