diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-16 11:59:53 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-16 11:59:53 +0000 |
commit | d018006adc10bff9ec4fdc7a63a997aef628d251 (patch) | |
tree | 19b44d3f387ffba053a26e0e946ad11730f01e2c /DOCS | |
parent | 067b81750004a883209ae9936b1e9c4b31ab3b1a (diff) |
Simplify the evaluation of the lang-def template:
Use the language variable directly in the template instead of passing
the language variable as a parameter to $(call).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30045 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/xml/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/DOCS/xml/Makefile b/DOCS/xml/Makefile index ec92ca545d..ed0ec64ed6 100644 --- a/DOCS/xml/Makefile +++ b/DOCS/xml/Makefile @@ -37,19 +37,19 @@ $(CONFIGURE_GENERATED) $(MAIN_XML_ALL): sh configure define lang-def -html-chunked-$(1) html-single-$(1): $(HTML)/$(1) $(CONFIGURE_GENERATED) +html-chunked-$(lang) html-single-$(lang): $(HTML)/$(lang) $(CONFIGURE_GENERATED) -html-chunked-$(1): - $(MAKE) HTMLDIR=../$$< -C $(1) html-chunked +html-chunked-$(lang): + $(MAKE) HTMLDIR=../$$< -C $(lang) html-chunked -html-single-$(1): - $(MAKE) HTMLDIR=../$$< -C $(1) html-single +html-single-$(lang): + $(MAKE) HTMLDIR=../$$< -C $(lang) html-single -xmllint-$(1): xmllint.sh - $(MAKE) -C $(1) xmllint +xmllint-$(lang): xmllint.sh + $(MAKE) -C $(lang) xmllint endef -$(foreach lang, $(DOC_LANG_ALL),$(eval $(call lang-def,$(lang)))) +$(foreach lang, $(DOC_LANG_ALL),$(eval $(lang-def))) clean: -rm -rf $(HTML) |