Mercurial > mplayer.hg
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 |
rev | line source |
---|---|
9674 | 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 | 3 # |
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 | 6 ifeq (html.xsl,$(wildcard html.xsl)) |
7 HTML_XSL := html.xsl | |
8 XSL_DEPS := $(HTML_XSL) ../html.xsl ../html-common.xsl | |
9 else | |
10 HTML_XSL := ../html.xsl | |
11 XSL_DEPS := $(HTML_XSL) ../html-common.xsl | |
12 endif | |
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 | 15 HTML_STYLESHEET ?= ../default.css |
16 | |
17 # This is the main target... | |
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 | 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 | 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 | 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 | 25 |
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 | 28 |
29 distclean: | |
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 |