annotate DOCS/xml/Makefile.inc @ 10755:8ec62402a8a3

sync
author diego
date Sun, 31 Aug 2003 22:10:52 +0000
parents 3c0e1b182fbc
children f6268d5a10f4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 #
10309
3c0e1b182fbc XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents: 10025
diff changeset
2 # Makefile.inc for Makefiles in subdirectories.
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 #
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
4
10309
3c0e1b182fbc XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents: 10025
diff changeset
5 # Use customized html.xsl file if it exists...
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 ifeq (html.xsl,$(wildcard html.xsl))
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 HTML_XSL := html.xsl
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 XSL_DEPS := $(HTML_XSL) ../html.xsl ../html-common.xsl
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 else
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 HTML_XSL := ../html.xsl
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 XSL_DEPS := $(HTML_XSL) ../html-common.xsl
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
12 endif
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
13
10309
3c0e1b182fbc XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents: 10025
diff changeset
14 # Fall back to the default HTML stylesheet if none is specified.
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
15 HTML_STYLESHEET ?= ../default.css
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
16
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 # This is the main target...
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
18 $(HTMLDIR)/index.html: documentation.xml $(XSL_DEPS)
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 -rm -f $(HTMLDIR)/*
10309
3c0e1b182fbc XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents: 10025
diff changeset
20 ../xmllint.sh $<
10025
970a95a4d856 Add support for the Saxon XSLT Processor.
lumag
parents: 9674
diff changeset
21 cp $(HTML_STYLESHEET) $(HTMLDIR)/
10309
3c0e1b182fbc XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents: 10025
diff changeset
22 ../xsltproc.sh $(HTMLDIR)/ $(HTML_XSL) $<
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
23
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 ../html.xsl:
10309
3c0e1b182fbc XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents: 10025
diff changeset
25 cd .. && sh configure