From 997f8e8c1094b85c4ef0ef9a80427265aecd6d44 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 11 May 2010 21:31:36 +0000 Subject: [PATCH] Create output directory when copying stylesheet. This eliminates one rule and simplifies dependencies. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31166 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/DOCS/xml/Makefile b/DOCS/xml/Makefile index a0f7597ed7..48fcab3864 100644 --- a/DOCS/xml/Makefile +++ b/DOCS/xml/Makefile @@ -30,18 +30,16 @@ html-single: $(addprefix html-single-,$(DOC_LANGS)) 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: