Mercurial > mplayer.hg
changeset 31106:2290cf3ae4f8
XML docs: Make xmllint-* targets a dependency of html-chunked-*/html-single-*.
Since the xmllint-* targets are phony, they should never be a dependency
of real targets, so make them a dependency of the phony html-chunked-* /
html-single-* targets instead. This is just as correct, but now the docs are
regenerated when dependencies change and not with every make invocation.
author | diego |
---|---|
date | Tue, 11 May 2010 14:27:26 +0000 |
parents | cf40376e7302 |
children | a29b422baba5 |
files | DOCS/xml/Makefile |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/xml/Makefile Tue May 11 13:27:13 2010 +0000 +++ b/DOCS/xml/Makefile Tue May 11 14:27:26 2010 +0000 @@ -37,9 +37,9 @@ sh configure define lang-def -html-chunked-$(lang): $(HTML)/$(lang)/index.html -html-single-$(lang): $(HTML)/$(lang)/MPlayer.html -$(HTML)/$(lang)/index.html $(HTML)/$(lang)/MPlayer.html: $(lang)/main.xml $(wildcard $(lang)/*.xml) $(HTML)/$(lang) $(CONFIGURE_GENERATED) html-common.xsl $(HTML)/$(lang)/default.css xmllint-$(lang) +html-chunked-$(lang): xmllint-$(lang) $(HTML)/$(lang)/index.html +html-single-$(lang): xmllint-$(lang) $(HTML)/$(lang)/MPlayer.html +$(HTML)/$(lang)/index.html $(HTML)/$(lang)/MPlayer.html: $(lang)/main.xml $(wildcard $(lang)/*.xml) $(HTML)/$(lang) html-common.xsl $(HTML)/$(lang)/default.css $(HTML)/$(lang)/default.css: $(HTML)/$(lang) cp -f default.css $$(@D)