mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 17:42:17 +00:00
Get rid of pointless variable indirection for XSL stylesheets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31159 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c8e40a8fba
commit
e3d4e1a3ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user