1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 23:00:41 +00:00

Factorize generating the list of all main.xml files.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30013 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-12-13 23:59:10 +00:00
parent 82624ac049
commit 4a7eee5392

View File

@ -5,6 +5,8 @@ include ../../config.mak
# Generated HTML files go here. # Generated HTML files go here.
HTML = ../HTML HTML = ../HTML
MAIN_XML_ALL = $(foreach lang,$(DOC_LANG_ALL),$(lang)/main.xml)
all: html-chunked html-single all: html-chunked html-single
help: help:
@ -31,7 +33,7 @@ xmllint: xmllint.sh $(addprefix xmllint-,$(DOC_LANG_ALL))
$(foreach lang,$(DOC_LANG_ALL),$(HTML)/$(lang)): $(foreach lang,$(DOC_LANG_ALL),$(HTML)/$(lang)):
-mkdir -p $@ -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 sh configure
define lang-def define lang-def
@ -51,7 +53,7 @@ clean:
rm -rf $(HTML) rm -rf $(HTML)
releaseclean: 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 $$(find . -name *.xml -type l)
rm -f html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh rm -f html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh