summaryrefslogtreecommitdiffstats
path: root/DOCS/xml/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-13 23:59:10 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-13 23:59:10 +0000
commit4a7eee53920f0a6c77d8e95dcb5318219e8e98fc (patch)
treeb183bee6b0cd61a6d81c09e3b114291decacb2b9 /DOCS/xml/Makefile
parent82624ac049656817805be1d05a9b61761fa70594 (diff)
downloadmpv-4a7eee53920f0a6c77d8e95dcb5318219e8e98fc.tar.bz2
mpv-4a7eee53920f0a6c77d8e95dcb5318219e8e98fc.tar.xz
Factorize generating the list of all main.xml files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30013 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/xml/Makefile')
-rw-r--r--DOCS/xml/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/DOCS/xml/Makefile b/DOCS/xml/Makefile
index 2aca1c3586..c7ce2e99f9 100644
--- a/DOCS/xml/Makefile
+++ b/DOCS/xml/Makefile
@@ -5,6 +5,8 @@ include ../../config.mak
# Generated HTML files go here.
HTML = ../HTML
+MAIN_XML_ALL = $(foreach lang,$(DOC_LANG_ALL),$(lang)/main.xml)
+
all: html-chunked html-single
help:
@@ -31,7 +33,7 @@ xmllint: xmllint.sh $(addprefix xmllint-,$(DOC_LANG_ALL))
$(foreach lang,$(DOC_LANG_ALL),$(HTML)/$(lang)):
-mkdir -p $@
-html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh $(foreach lang,$(DOC_LANG_ALL),$(lang)/main.xml):
+html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh $(MAIN_XML_ALL):
sh configure
define lang-def
@@ -51,7 +53,7 @@ clean:
rm -rf $(HTML)
releaseclean:
- rm -f $(foreach lang,$(DOC_LANG_ALL),$(lang)/main.xml)
+ rm -f $(MAIN_XML_ALL)
rm -f $$(find . -name *.xml -type l)
rm -f html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh