mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 17:42:17 +00:00
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31163 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0e9b9da3b2
commit
eabca4e7b2
@ -37,9 +37,9 @@ $(CONFIGURE_GENERATED) $(MAIN_XML_ALL):
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user