From 33d9de542e301a65b8e16dd1276a7dc48e2b0a0b Mon Sep 17 00:00:00 2001 From: gabucino Date: Sun, 16 Feb 2003 14:14:13 +0000 Subject: [PATCH] applied my patch for localized manpage installation feel free to improve git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9448 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f4be226cb5..970861c29b 100644 --- a/Makefile +++ b/Makefile @@ -246,10 +246,11 @@ ifeq ($(GUI),yes) -ln -sf $(PRG) $(BINDIR)/gmplayer endif if test ! -d $(MANDIR)/man1 ; then mkdir -p $(MANDIR)/man1; fi - $(INSTALL) -c -m 644 DOCS/$(LINGUAS)/mplayer.1 $(MANDIR)/man1/mplayer.1 + $(INSTALL) -c -m 644 DOCS/en/mplayer.1 $(MANDIR)/man1/mplayer.1 + @for LCLMANS in de fr hu pl; do $(INSTALL) -D -c -m 644 DOCS/$$LCLMANS/mplayer.1 $(MANDIR)/$$LCLMANS/man1/mplayer.1; done ifeq ($(MENCODER),yes) $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER) - -ln -sf mplayer.1 $(MANDIR)/man1/mencoder.1 + @for LCLMANS in de fr hu pl; do ln -sf mplayer.1 $(MANDIR)/$$LCLMANS/man1/mencoder.1; done endif @if test ! -d $(DATADIR) ; then mkdir -p $(DATADIR) ; fi @if test ! -d $(DATADIR)/font ; then mkdir -p $(DATADIR)/font ; fi