[MPlayer-dev-eng] [PATCH] mencoder manpage: strip path from symlink
Eric Lammerts
eric at lammerts.org
Fri May 17 00:43:20 CEST 2002
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.
Eric
diff -u -r1.186 Makefile
--- Makefile 12 May 2002 01:07:24 -0000 1.186
+++ Makefile 16 May 2002 22:31:29 -0000
@@ -229,7 +229,7 @@
$(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
More information about the MPlayer-dev-eng
mailing list