1
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 06:03:45 +01:00

Add rules to install gmplayer manual pages.

based on a patch by Reinhard Tartler, siretart tauware de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29150 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-04-06 14:06:53 +00:00
parent b2baebacd3
commit 5815029bd2

View File

@ -909,9 +909,13 @@ install-gui: install-mplayer
$(INSTALL) -m 644 etc/mplayer.xpm $(prefix)/share/pixmaps/
$(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/
install-gui-man: $(foreach lang,$(MAN_LANGS),install-gui-man-$(lang))
install-mencoder-man: $(foreach lang,$(MAN_LANGS),install-mencoder-man-$(lang))
install-mplayer-man: $(foreach lang,$(MAN_LANGS),install-mplayer-man-$(lang))
install-gui-man-en: install-mplayer-man-en
cd $(MANDIR)/man1/ && ln -sf mplayer.1 gmplayer.1
install-mencoder-man-en: install-mplayer-man-en
cd $(MANDIR)/man1 && ln -sf mplayer.1 mencoder.1
@ -919,6 +923,11 @@ install-mplayer-man-en:
$(INSTALL) -d $(MANDIR)/man1
$(INSTALL) -m 644 DOCS/man/en/mplayer.1 $(MANDIR)/man1/
define GUI_MAN_RULE
install-gui-man-$(lang): install-mplayer-man-$(lang)
cd $(MANDIR)/$(lang)/man1/ && ln -sf mplayer.1 gmplayer.1
endef
define MENCODER_MAN_RULE
install-mencoder-man-$(lang): install-mplayer-man-$(lang)
cd $(MANDIR)/$(lang)/man1 && ln -sf mplayer.1 mencoder.1
@ -930,6 +939,7 @@ install-mplayer-man-$(lang):
$(INSTALL) -m 644 DOCS/man/$(lang)/mplayer.1 $(MANDIR)/$(lang)/man1/
endef
$(foreach lang,$(filter-out en,$(MAN_LANG_ALL)),$(eval $(GUI_MAN_RULE)))
$(foreach lang,$(filter-out en,$(MAN_LANG_ALL)),$(eval $(MENCODER_MAN_RULE)))
$(foreach lang,$(filter-out en,$(MAN_LANG_ALL)),$(eval $(MPLAYER_MAN_RULE)))