# HG changeset patch # User gabucino # Date 1045404853 0 # Node ID 3e2b46860bac719463573b27f29c5b54a895ec80 # Parent 29a9b69033f1ad69c331327637cec4c94f0d6407 applied my patch for localized manpage installation feel free to improve diff -r 29a9b69033f1 -r 3e2b46860bac Makefile --- a/Makefile Sun Feb 16 10:00:42 2003 +0000 +++ b/Makefile Sun Feb 16 14:14:13 2003 +0000 @@ -246,10 +246,11 @@ -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