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
This commit is contained in:
gabucino 2003-02-16 14:14:13 +00:00
parent 790b950d6c
commit 33d9de542e
1 changed files with 3 additions and 2 deletions

View File

@ -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