summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-11 11:52:41 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-11 11:52:41 +0000
commite3d4e1a3cec01e18ea0a3bc4f4cd60247c1ae754 (patch)
tree5c54b3ddb87656403670f28b63a8d274ba14b4f3 /DOCS
parentc8e40a8fba496924260ab7192a76c0b3b8d219bb (diff)
downloadmpv-e3d4e1a3cec01e18ea0a3bc4f4cd60247c1ae754.tar.bz2
mpv-e3d4e1a3cec01e18ea0a3bc4f4cd60247c1ae754.tar.xz
Get rid of pointless variable indirection for XSL stylesheets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31159 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/xml/Makefile.inc14
1 files changed, 4 insertions, 10 deletions
diff --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc
index 1cf2dcfbbd..95af9702d9 100644
--- a/DOCS/xml/Makefile.inc
+++ b/DOCS/xml/Makefile.inc
@@ -5,12 +5,6 @@
# Dependency information.
$(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard $(LANG)/*.xml)
-HTML_CHUNK_XSL := html-chunk.xsl
-CHUNK_XSL_DEPS := $(HTML_CHUNK_XSL) html-common.xsl
-
-HTML_SINGLE_XSL := html-single.xsl
-SINGLE_XSL_DEPS := $(HTML_SINGLE_XSL) html-common.xsl
-
# This is the main target...
all: html-chunked html-single
html-chunked: $(HTMLDIR)/index.html
@@ -22,11 +16,11 @@ xmllint: $(LANG)/main.xml
$(HTMLDIR)/default.css:
cp -f default.css $(@D)
-$(HTMLDIR)/index.html: $(LANG)/main.xml $(CHUNK_XSL_DEPS) xmllint $(HTMLDIR)/default.css
- ./xsltproc.sh $(HTMLDIR)/ $(HTML_CHUNK_XSL) $<
+$(HTMLDIR)/index.html: $(LANG)/main.xml html-chunk.xsl html-common.xsl $(HTMLDIR)/default.css xmllint
+ ./xsltproc.sh $(HTMLDIR)/ html-chunk.xsl $<
-$(HTMLDIR)/MPlayer.html: $(LANG)/main.xml $(SINGLE_XSL_DEPS) xmllint $(HTMLDIR)/default.css
- ./xsltproc.sh $@ $(HTML_SINGLE_XSL) $<
+$(HTMLDIR)/MPlayer.html: $(LANG)/main.xml html-single.xsl html-common.xsl $(HTMLDIR)/default.css xmllint
+ ./xsltproc.sh $@ html-single.xsl $<
html-chunk.xsl html-single.xsl $(LANG)/main.xml:
sh configure