annotate DOCS/xml/Makefile.inc @ 31102:b604051c30a3

Get rid of pointless variable indirection for XSL stylesheets.
author diego
date Tue, 11 May 2010 11:52:41 +0000
parents 7a2ec1d564ce
children
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
31095
7a2ec1d564ce Pass a language variable to submakes instead of reading subdirectory Makefiles.
diego
parents: 31076
diff changeset
5 # Dependency information.
7a2ec1d564ce Pass a language variable to submakes instead of reading subdirectory Makefiles.
diego
parents: 31076
diff changeset
6 $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard $(LANG)/*.xml)
11188
6dfed0b2a300 Add support for building all-in-one HTML docs. (Files go to DOCS/HTML-single)
lumag
parents: 11045
diff changeset
7
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 # This is the main target...
11206
e7534574320c html.xsl ---> html-single.xsl + more consistency + small fixes
diego
parents: 11188
diff changeset
9 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
10 html-chunked: $(HTMLDIR)/index.html
29972
03e8eec6e104 Construct monolithic targets with the HTMLDIR instead of the HTMLFILE variable.
diego
parents: 29967
diff changeset
11 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
12
31095
7a2ec1d564ce Pass a language variable to submakes instead of reading subdirectory Makefiles.
diego
parents: 31076
diff changeset
13 xmllint: $(LANG)/main.xml
7a2ec1d564ce Pass a language variable to submakes instead of reading subdirectory Makefiles.
diego
parents: 31076
diff changeset
14 ./xmllint.sh $<
15126
6555c01128b7 Support syntax checking only
wight
parents: 12969
diff changeset
15
29973
113ab3d1feab Factorize stylesheet installation into its own target.
diego
parents: 29972
diff changeset
16 $(HTMLDIR)/default.css:
31095
7a2ec1d564ce Pass a language variable to submakes instead of reading subdirectory Makefiles.
diego
parents: 31076
diff changeset
17 cp -f default.css $(@D)
29973
113ab3d1feab Factorize stylesheet installation into its own target.
diego
parents: 29972
diff changeset
18
31102
b604051c30a3 Get rid of pointless variable indirection for XSL stylesheets.
diego
parents: 31095
diff changeset
19 $(HTMLDIR)/index.html: $(LANG)/main.xml html-chunk.xsl html-common.xsl $(HTMLDIR)/default.css xmllint
b604051c30a3 Get rid of pointless variable indirection for XSL stylesheets.
diego
parents: 31095
diff changeset
20 ./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
21
31102
b604051c30a3 Get rid of pointless variable indirection for XSL stylesheets.
diego
parents: 31095
diff changeset
22 $(HTMLDIR)/MPlayer.html: $(LANG)/main.xml html-single.xsl html-common.xsl $(HTMLDIR)/default.css xmllint
b604051c30a3 Get rid of pointless variable indirection for XSL stylesheets.
diego
parents: 31095
diff changeset
23 ./xsltproc.sh $@ html-single.xsl $<
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
24
31095
7a2ec1d564ce Pass a language variable to submakes instead of reading subdirectory Makefiles.
diego
parents: 31076
diff changeset
25 html-chunk.xsl html-single.xsl $(LANG)/main.xml:
7a2ec1d564ce Pass a language variable to submakes instead of reading subdirectory Makefiles.
diego
parents: 31076
diff changeset
26 sh configure
11045
4dc3149f5b74 Support for building incomplete translations.
diego
parents: 10914
diff changeset
27
28221
ded986da716f nonrecursive releaseclean target
diego
parents: 26460
diff changeset
28 .PHONY: all html-chunked html-single xmllint