aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS/xml/Makefile
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-13 22:15:50 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-13 22:15:50 +0000
commit985b7e57ae8616b9aa9c5ff4d1e5469e55a10541 (patch)
tree9df2ab725765e799490d967a8c4584e4f4bba4d2 /DOCS/xml/Makefile
parent05de890bad0299894d7804894228c3de40d46166 (diff)
Create required directories directly without intermediate steps.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30003 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/xml/Makefile')
-rw-r--r--DOCS/xml/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/DOCS/xml/Makefile b/DOCS/xml/Makefile
index 21d34df0f9..5b18bc2101 100644
--- a/DOCS/xml/Makefile
+++ b/DOCS/xml/Makefile
@@ -31,19 +31,17 @@ html-single: $(HTML_SINGLE) $(addprefix html-single-,$(DOC_LANGS))
xmllint: xmllint.sh $(addprefix xmllint-,$(DOC_LANG_ALL))
-$(HTML_CHUNKED) $(HTML_SINGLE):
+$(foreach lang,$(DOC_LANG_ALL),$(HTML_CHUNKED)/$(lang) $(HTML_SINGLE)/$(lang)):
-mkdir -p $@
xsltproc.sh xmllint.sh:
sh configure
define lang-def
-html-chunked-$(1): xsltproc.sh xmllint.sh $(HTML_CHUNKED)
- -mkdir -p $(HTML_CHUNKED)/$(1)
+html-chunked-$(1): $(HTML_CHUNKED)/$(1) xsltproc.sh xmllint.sh
$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) html-chunked
-html-single-$(1): xsltproc.sh xmllint.sh $(HTML_SINGLE)
- -mkdir -p $(HTML_SINGLE)/$(1)
+html-single-$(1): $(HTML_SINGLE)/$(1) xsltproc.sh xmllint.sh
$(MAKE) HTMLFILE=../$(HTML_SINGLE)/$(1)/MPlayer.html -C $(1) html-single
xmllint-$(1): xmllint.sh