aboutsummaryrefslogtreecommitdiff
path: root/ja_JP.eucJP
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>1999-08-26 19:42:13 +0000
committerNik Clayton <nik@FreeBSD.org>1999-08-26 19:42:13 +0000
commit5d61c67118a4732dc50ccbff611f70872b654480 (patch)
tree43892907e95073e7bfae9a84dea3e8cbdd0ae1ed /ja_JP.eucJP
parent816f75506cc30f447544e32823afbadf51480ae2 (diff)
downloaddoc-5d61c67118a4732dc50ccbff611f70872b654480.tar.gz
doc-5d61c67118a4732dc50ccbff611f70872b654480.zip
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" :-)
Notes
Notes: svn path=/head/; revision=5453
Diffstat (limited to 'ja_JP.eucJP')
-rw-r--r--ja_JP.eucJP/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/ja_JP.eucJP/Makefile b/ja_JP.eucJP/Makefile
index 8eb19d78ff..1d977e142d 100644
--- a/ja_JP.eucJP/Makefile
+++ b/ja_JP.eucJP/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.7 1999-08-19 20:35:58 nik Exp $
+# $Id: Makefile,v 1.8 1999-08-26 19:42:11 nik Exp $
SUBDIR = books
SUBDIR+= man
@@ -13,8 +13,7 @@ afterinstall:
.if !defined(IGNORE_COMPAT_SYMLINK)
if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
- ln -s ${DOCDIR}/ja \
- ${DOCDIR}/${COMPAT_SYMLINK}; \
+ (cd ${DOCDIR} && ln -s ja ${COMPAT_SYMLINK}); \
fi
.endif