[MPlayer-cvslog] r31114 - in branches/1.0rc3: . Makefile
siretart
subversion at mplayerhq.hu
Sat May 1 20:15:56 CEST 2010
Author: siretart
Date: Sat May 1 20:15:56 2010
New Revision: 31114
Log:
Add rules to install gmplayer manual pages.
based on a patch by Reinhard Tartler, siretart tauware de
backport r29150 by diego
Modified:
branches/1.0rc3/ (props changed)
branches/1.0rc3/Makefile
Modified: branches/1.0rc3/Makefile
==============================================================================
--- branches/1.0rc3/Makefile Sat May 1 20:12:26 2010 (r31113)
+++ branches/1.0rc3/Makefile Sat May 1 20:15:56 2010 (r31114)
@@ -897,9 +897,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
@@ -907,6 +911,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
@@ -918,6 +927,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)))
More information about the MPlayer-cvslog
mailing list