changeset 31109:729ce4709ce1

Create output directory when copying stylesheet. This eliminates one rule and simplifies dependencies.
author diego
date Tue, 11 May 2010 21:31:36 +0000
parents 20cee5a646b3
children 6d19129bcd9e
files DOCS/xml/Makefile
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/Makefile	Tue May 11 21:25:12 2010 +0000
+++ b/DOCS/xml/Makefile	Tue May 11 21:31:36 2010 +0000
@@ -30,18 +30,16 @@
 
 xmllint: $(addprefix xmllint-,$(DOC_LANGS))
 
-$(foreach lang,$(DOC_LANG_ALL),$(HTML)/$(lang)):
-	mkdir -p $@
-
 $(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) html-common.xsl $(HTML)/$(lang)/default.css
+$(HTML)/$(lang)/index.html $(HTML)/$(lang)/MPlayer.html: $(lang)/main.xml $(wildcard $(lang)/*.xml) html-common.xsl $(HTML)/$(lang)/default.css
 
-$(HTML)/$(lang)/default.css: $(HTML)/$(lang)
+$(HTML)/$(lang)/default.css:
+	mkdir -p $$@
 	cp -f default.css $$(@D)
 
 $(HTML)/$(lang)/index.html: