mirror of https://github.com/mpv-player/mpv
Evaluate man page installation rule for all available languages,
but only install the requested languages. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27307 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a078ef894c
commit
33ff3271b1
8
Makefile
8
Makefile
|
@ -819,8 +819,8 @@ install-dirs:
|
||||||
install-%: %$(EXESUF) install-dirs
|
install-%: %$(EXESUF) install-dirs
|
||||||
$(INSTALL) -m 755 $(INSTALLSTRIP) $< $(BINDIR)
|
$(INSTALL) -m 755 $(INSTALLSTRIP) $< $(BINDIR)
|
||||||
|
|
||||||
install-mplayer-man: $(foreach lang,$(MAN_LANG_ALL),install-mplayer-man-$(lang))
|
install-mplayer-man: $(foreach lang,$(MAN_LANG),install-mplayer-man-$(lang))
|
||||||
install-mencoder-man: $(foreach lang,$(MAN_LANG_ALL),install-mencoder-man-$(lang))
|
install-mencoder-man: $(foreach lang,$(MAN_LANG),install-mencoder-man-$(lang))
|
||||||
|
|
||||||
install-mplayer-man-en:
|
install-mplayer-man-en:
|
||||||
$(INSTALL) -d $(MANDIR)/man1
|
$(INSTALL) -d $(MANDIR)/man1
|
||||||
|
@ -840,8 +840,8 @@ install-mencoder-man-$(lang): install-mplayer-man-$(lang)
|
||||||
cd $(MANDIR)/$(lang)/man1 && ln -sf mplayer.1 mencoder.1
|
cd $(MANDIR)/$(lang)/man1 && ln -sf mplayer.1 mencoder.1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(foreach lang,$(MAN_LANG),$(eval $(MPLAYER_MAN_RULE)))
|
$(foreach lang,$(MAN_LANG_ALL),$(eval $(MPLAYER_MAN_RULE)))
|
||||||
$(foreach lang,$(MAN_LANG),$(eval $(MENCODER_MAN_RULE)))
|
$(foreach lang,$(MAN_LANG_ALL),$(eval $(MENCODER_MAN_RULE)))
|
||||||
|
|
||||||
install-gui: install-mplayer
|
install-gui: install-mplayer
|
||||||
-ln -sf mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF)
|
-ln -sf mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF)
|
||||||
|
|
Loading…
Reference in New Issue