Mercurial > mplayer.hg
changeset 31102:b604051c30a3
Get rid of pointless variable indirection for XSL stylesheets.
author | diego |
---|---|
date | Tue, 11 May 2010 11:52:41 +0000 |
parents | bb98a3561775 |
children | 1ff8bca53fe6 |
files | DOCS/xml/Makefile.inc |
diffstat | 1 files changed, 4 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/xml/Makefile.inc Tue May 11 11:13:07 2010 +0000 +++ b/DOCS/xml/Makefile.inc Tue May 11 11:52:41 2010 +0000 @@ -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 @@ $(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