Mercurial > mplayer.hg
annotate DOCS/xml/Makefile.inc @ 30935:59f25d383d12
rename eatgv -> ffeatgv, lpcm -> fflpcm
for consitently naming all ffmpeg codecs
requested by compn
author | attila |
---|---|
date | Wed, 31 Mar 2010 06:33:08 +0000 |
parents | 0dacb57a3d3e |
children | 783f8faee539 |
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 | |
11188
6dfed0b2a300
Add support for building all-in-one HTML docs. (Files go to DOCS/HTML-single)
lumag
parents:
11045
diff
changeset
|
5 HTML_CHUNK_XSL := ../html-chunk.xsl |
6dfed0b2a300
Add support for building all-in-one HTML docs. (Files go to DOCS/HTML-single)
lumag
parents:
11045
diff
changeset
|
6 CHUNK_XSL_DEPS := $(HTML_CHUNK_XSL) ../html-common.xsl |
6dfed0b2a300
Add support for building all-in-one HTML docs. (Files go to DOCS/HTML-single)
lumag
parents:
11045
diff
changeset
|
7 |
11206
e7534574320c
html.xsl ---> html-single.xsl + more consistency + small fixes
diego
parents:
11188
diff
changeset
|
8 HTML_SINGLE_XSL := ../html-single.xsl |
29979
4d2792f3a070
cosmetics: Rename XSL_DEPS variable to SINGLE_XSL_DEPS for consistency.
diego
parents:
29978
diff
changeset
|
9 SINGLE_XSL_DEPS := $(HTML_SINGLE_XSL) ../html-common.xsl |
11206
e7534574320c
html.xsl ---> html-single.xsl + more consistency + small fixes
diego
parents:
11188
diff
changeset
|
10 |
9674 | 11 # This is the main target... |
11206
e7534574320c
html.xsl ---> html-single.xsl + more consistency + small fixes
diego
parents:
11188
diff
changeset
|
12 all: html-chunked html-single |
11188
6dfed0b2a300
Add support for building all-in-one HTML docs. (Files go to DOCS/HTML-single)
lumag
parents:
11045
diff
changeset
|
13 html-chunked: $(HTMLDIR)/index.html |
29972
03e8eec6e104
Construct monolithic targets with the HTMLDIR instead of the HTMLFILE variable.
diego
parents:
29967
diff
changeset
|
14 html-single: $(HTMLDIR)/MPlayer.html |
11188
6dfed0b2a300
Add support for building all-in-one HTML docs. (Files go to DOCS/HTML-single)
lumag
parents:
11045
diff
changeset
|
15 |
29998
0dacb57a3d3e
Filter list of missing source files so that it only contains nonexisting files.
diego
parents:
29996
diff
changeset
|
16 SYMLINKS_DEPS := $(filter-out $(wildcard *.xml),$(notdir $(wildcard ../en/*.xml))) |
12969
e589db41eb34
Make symlinks behavior more sensible - regenerate symlinks (and documentation)
wight
parents:
11893
diff
changeset
|
17 |
15126 | 18 xmllint: main.xml $(SYMLINKS_DEPS) |
19 ../xmllint.sh $< | |
20 | |
29973
113ab3d1feab
Factorize stylesheet installation into its own target.
diego
parents:
29972
diff
changeset
|
21 $(HTMLDIR)/default.css: |
29976 | 22 cp -f ../default.css $(@D) |
29973
113ab3d1feab
Factorize stylesheet installation into its own target.
diego
parents:
29972
diff
changeset
|
23 |
113ab3d1feab
Factorize stylesheet installation into its own target.
diego
parents:
29972
diff
changeset
|
24 $(HTMLDIR)/index.html: main.xml $(CHUNK_XSL_DEPS) $(SYMLINKS_DEPS) xmllint $(HTMLDIR)/default.css |
11841 | 25 ../xsltproc.sh $(HTMLDIR)/ $(HTML_CHUNK_XSL) $< |
11188
6dfed0b2a300
Add support for building all-in-one HTML docs. (Files go to DOCS/HTML-single)
lumag
parents:
11045
diff
changeset
|
26 |
29979
4d2792f3a070
cosmetics: Rename XSL_DEPS variable to SINGLE_XSL_DEPS for consistency.
diego
parents:
29978
diff
changeset
|
27 $(HTMLDIR)/MPlayer.html: main.xml $(SINGLE_XSL_DEPS) $(SYMLINKS_DEPS) xmllint $(HTMLDIR)/default.css |
29953
ff601a46cbaf
Use automatic variables instead of the target name.
diego
parents:
29952
diff
changeset
|
28 ../xsltproc.sh $@ $(HTML_SINGLE_XSL) $< |
9674 | 29 |
11817
19919e913e3d
Shiny new build system by Torinthiel, polished and improved by myself.
diego
parents:
11525
diff
changeset
|
30 ../html-chunk.xsl ../html-single.xsl main.xml: |
11326 | 31 cd .. && sh configure |
11045 | 32 |
29994
0eba66234d64
Globally remove main.xml from SYMLINKS_DEPS. It should never be symlinked.
diego
parents:
29993
diff
changeset
|
33 $(SYMLINKS_DEPS): |
29998
0dacb57a3d3e
Filter list of missing source files so that it only contains nonexisting files.
diego
parents:
29996
diff
changeset
|
34 ln -s ../en/$@ $@ |
11893 | 35 |
28221 | 36 .PHONY: all html-chunked html-single xmllint |