[MPlayer-DOCS] r31163 - trunk/DOCS/xml/Makefile

diego subversion at mplayerhq.hu
Tue May 11 16:27:26 CEST 2010


Author: diego
Date: Tue May 11 16:27:26 2010
New Revision: 31163

Log:
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.

Modified:
   trunk/DOCS/xml/Makefile

Modified: trunk/DOCS/xml/Makefile
==============================================================================
--- trunk/DOCS/xml/Makefile	Tue May 11 15:27:13 2010	(r31162)
+++ trunk/DOCS/xml/Makefile	Tue May 11 16:27:26 2010	(r31163)
@@ -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)


More information about the MPlayer-DOCS mailing list