Mercurial > mplayer.hg
changeset 29971:582d78986e87
Factorize generating the list of all main.xml files.
author | diego |
---|---|
date | Sun, 13 Dec 2009 23:59:10 +0000 |
parents | 5733a5cd1339 |
children | 03e8eec6e104 |
files | DOCS/xml/Makefile |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/xml/Makefile Sun Dec 13 23:54:46 2009 +0000 +++ b/DOCS/xml/Makefile Sun Dec 13 23:59:10 2009 +0000 @@ -5,6 +5,8 @@ # 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 @@ $(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 @@ 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