[MPlayer-dev-eng] [PATCH] mencoder manpage: strip path from symlink
Björn Sandell
biorn at dce.chalmers.se
Fri May 17 01:00:10 CEST 2002
On Fri, 17 May 2002, Eric Lammerts wrote:
>
> Hi,
> This patch removes the full path from the mencoder.1 symlink.
> It's not needed, since mencoder.1 and mplayer.1 are in the same
> directory.
>
> The reason for the change is that when you build a debian package,
> the symlink will contain the build directory (e.g., in my case
> /home/eric/dvd/mplayer/main/debian/mplayer/usr/share/man/man1)
> instead of the directory where the file will be installed.
May I, for similar reasons - package building on OpenBSD, expand that
patch a bit:
--- Makefile.orig Sun May 12 03:07:24 2002
+++ Makefile Wed May 15 11:14:53 2002
@@ -223,13 +223,13 @@ endif
if test ! -d $(BINDIR) ; then mkdir -p $(BINDIR) ; fi
$(INSTALL) -m 755 -s $(PRG) $(BINDIR)/$(PRG)
ifeq ($(GUI),yes)
- -ln -sf $(BINDIR)/$(PRG) $(BINDIR)/gmplayer
+ -ln -sf $(PRG) $(BINDIR)/gmplayer
endif
if test ! -d $(MANDIR)/man1 ; then mkdir -p $(MANDIR)/man1; fi
$(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
ifeq ($(MENCODER),yes)
$(INSTALL) -m 755 -s $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER)
- -ln -sf $(MANDIR)/man1/mplayer.1 $(MANDIR)/man1/mencoder.1
+ -ln -sf mplayer.1 $(MANDIR)/man1/mencoder.1
endif
@if test ! -d $(DATADIR) ; then mkdir -p $(DATADIR) ; fi
@if test ! -d $(DATADIR)/font ; then mkdir -p $(DATADIR)/font ; fi
Björn Sandell DCE/DFS Sysadmin IT department
Chalmers University of Technology www.dce.chalmers.se
More information about the MPlayer-dev-eng
mailing list