changeset 27275:38d837e668fb

Evaluate man page installation rule for all available languages, but only install the requested languages.
author diego
date Thu, 17 Jul 2008 11:54:42 +0000
parents 40227007298a
children 30940ba90ba2
files Makefile
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jul 17 10:07:21 2008 +0000
+++ b/Makefile	Thu Jul 17 11:54:42 2008 +0000
@@ -819,8 +819,8 @@
 install-%: %$(EXESUF) install-dirs
 	$(INSTALL) -m 755 $(INSTALLSTRIP) $< $(BINDIR)
 
-install-mplayer-man: $(foreach lang,$(MAN_LANG_ALL),install-mplayer-man-$(lang))
-install-mencoder-man: $(foreach lang,$(MAN_LANG_ALL),install-mencoder-man-$(lang))
+install-mplayer-man: $(foreach lang,$(MAN_LANG),install-mplayer-man-$(lang))
+install-mencoder-man: $(foreach lang,$(MAN_LANG),install-mencoder-man-$(lang))
 
 install-mplayer-man-en:
 	$(INSTALL) -d $(MANDIR)/man1
@@ -840,8 +840,8 @@
 	cd $(MANDIR)/$(lang)/man1 && ln -sf mplayer.1 mencoder.1
 endef
 
-$(foreach lang,$(MAN_LANG),$(eval $(MPLAYER_MAN_RULE)))
-$(foreach lang,$(MAN_LANG),$(eval $(MENCODER_MAN_RULE)))
+$(foreach lang,$(MAN_LANG_ALL),$(eval $(MPLAYER_MAN_RULE)))
+$(foreach lang,$(MAN_LANG_ALL),$(eval $(MENCODER_MAN_RULE)))
 
 install-gui: install-mplayer
 	-ln -sf mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF)