[MPlayer-DOCS] r31159 - trunk/DOCS/xml/Makefile.inc
diego
subversion at mplayerhq.hu
Tue May 11 13:52:41 CEST 2010
Author: diego
Date: Tue May 11 13:52:41 2010
New Revision: 31159
Log:
Get rid of pointless variable indirection for XSL stylesheets.
Modified:
trunk/DOCS/xml/Makefile.inc
Modified: trunk/DOCS/xml/Makefile.inc
==============================================================================
--- trunk/DOCS/xml/Makefile.inc Tue May 11 13:13:07 2010 (r31158)
+++ trunk/DOCS/xml/Makefile.inc Tue May 11 13:52:41 2010 (r31159)
@@ -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
More information about the MPlayer-DOCS
mailing list