Create required directories directly without intermediate steps.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30003 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-12-13 22:15:50 +00:00
parent 05de890bad
commit 985b7e57ae
1 changed files with 3 additions and 5 deletions

View File

@ -31,19 +31,17 @@ html-single: $(HTML_SINGLE) $(addprefix html-single-,$(DOC_LANGS))
xmllint: xmllint.sh $(addprefix xmllint-,$(DOC_LANG_ALL)) 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 $@ -mkdir -p $@
xsltproc.sh xmllint.sh: xsltproc.sh xmllint.sh:
sh configure sh configure
define lang-def define lang-def
html-chunked-$(1): xsltproc.sh xmllint.sh $(HTML_CHUNKED) html-chunked-$(1): $(HTML_CHUNKED)/$(1) xsltproc.sh xmllint.sh
-mkdir -p $(HTML_CHUNKED)/$(1)
$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) html-chunked $(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) html-chunked
html-single-$(1): xsltproc.sh xmllint.sh $(HTML_SINGLE) html-single-$(1): $(HTML_SINGLE)/$(1) xsltproc.sh xmllint.sh
-mkdir -p $(HTML_SINGLE)/$(1)
$(MAKE) HTMLFILE=../$(HTML_SINGLE)/$(1)/MPlayer.html -C $(1) html-single $(MAKE) HTMLFILE=../$(HTML_SINGLE)/$(1)/MPlayer.html -C $(1) html-single
xmllint-$(1): xmllint.sh xmllint-$(1): xmllint.sh