From 5d61c67118a4732dc50ccbff611f70872b654480 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Thu, 26 Aug 1999 19:42:13 +0000 Subject: When making the compatability symlink, do it in the parent directory to both directories, and make it relative, rather than absolute. This fixes the case where you might install the docs under one directory /foo/bar/..., and then want to migrate them elsewhere (to /usr/share/). With the old scheme, the symlink would start /foo/bar/..., and would therefore be broken. A good example of this happening is "make release" :-) --- ru_RU.KOI8-R/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ru_RU.KOI8-R/Makefile') diff --git a/ru_RU.KOI8-R/Makefile b/ru_RU.KOI8-R/Makefile index 24ce20f2ba..20aa9a0164 100644 --- a/ru_RU.KOI8-R/Makefile +++ b/ru_RU.KOI8-R/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.3 1999-08-19 20:36:00 nik Exp $ +# $Id: Makefile,v 1.4 1999-08-26 19:42:12 nik Exp $ SUBDIR = FAQ @@ -18,8 +18,7 @@ afterinstall: .if !defined(IGNORE_COMPAT_SYMLINK) if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \ rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \ - ln -s ${DOCDIR}/ru_SU.KOI8-R \ - ${DOCDIR}/${COMPAT_SYMLINK}; \ + (cd ${DOCDIR} && ln -s ru_RU.KOI8-R ${COMPAT_SYMLINK}); \ fi .endif -- cgit v1.3