annotate DOCS/xml/Makefile.inc @ 11103:c934dadd77c2

-vf eq only supports brightness and contrast, noticed by Torinthiel.
author diego
date Mon, 13 Oct 2003 23:25:56 +0000
parents 4dc3149f5b74
children 6dfed0b2a300
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)
10914
f6268d5a10f4 I don't think, that anybody likes seeng rm -f /* command :)
lumag
parents: 10309
diff changeset
19 @if test "$(HTMLDIR)" = "" ; then echo "Error: HTMLDIR not set!!!"; echo "Typically this means, that you've run make from subdir of DOCS/xml. Don't do this!" ; false; fi
11045
4dc3149f5b74 Support for building incomplete translations.
diego
parents: 10914
diff changeset
20 if test "$(USE_SYMLINKS)" = "yes" ; then for file in ../en/*.xml ; do if ! test -r `basename $$file` ; then ln -s $$file `basename $$file` ; fi ; done ; fi
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 -rm -f $(HTMLDIR)/*
10309
3c0e1b182fbc XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents: 10025
diff changeset
22 ../xmllint.sh $<
10025
970a95a4d856 Add support for the Saxon XSLT Processor.
lumag
parents: 9674
diff changeset
23 cp $(HTML_STYLESHEET) $(HTMLDIR)/
10309
3c0e1b182fbc XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents: 10025
diff changeset
24 ../xsltproc.sh $(HTMLDIR)/ $(HTML_XSL) $<
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
25
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 ../html.xsl:
10309
3c0e1b182fbc XML autoconfiguration by Dmitry Baryshkov <lumag@qnc.ru> with some
diego
parents: 10025
diff changeset
27 cd .. && sh configure
11045
4dc3149f5b74 Support for building incomplete translations.
diego
parents: 10914
diff changeset
28
4dc3149f5b74 Support for building incomplete translations.
diego
parents: 10914
diff changeset
29 distclean:
4dc3149f5b74 Support for building incomplete translations.
diego
parents: 10914
diff changeset
30 if test "$(USE_SYMLINKS)" = "yes" ; then for file in *.xml ; do if test -L $$file && test "`readlink $$file`" = "../en/$$file" ; then rm $$file ; fi ; done ; fi