[MPlayer-cvslog] r27307 - trunk/Makefile

diego subversion at mplayerhq.hu
Thu Jul 17 13:54:42 CEST 2008


Author: diego
Date: Thu Jul 17 13:54:42 2008
New Revision: 27307

Log:
Evaluate man page installation rule for all available languages,
but only install the requested languages.


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Thu Jul 17 13:54:42 2008
@@ -819,8 +819,8 @@ install-dirs:
 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 @@ install-mencoder-man-$(lang): install-mp
 	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)



More information about the MPlayer-cvslog mailing list