summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-07-31 11:32:25 +0000
committerasami <asami@FreeBSD.org>1997-07-31 11:32:25 +0000
commit84f21d2d4993f4259540f1f7c76e3f8fc836fed0 (patch)
tree6d94044b238fc5e169a4f281fb50533aa95c8d5e /include
parentc7c8de5af6bc6d53799a7af72fdb8f37042cebbf (diff)
downloadFreeBSD-src-84f21d2d4993f4259540f1f7c76e3f8fc836fed0.zip
FreeBSD-src-84f21d2d4993f4259540f1f7c76e3f8fc836fed0.tar.gz
Use relative symlinks so they work even when ${DESTDIR} is not empty.
Reviewed by: jkh, bde
Diffstat (limited to 'include')
-rw-r--r--include/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/Makefile b/include/Makefile
index 0f9e6bc..71a42bc 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
-# $Id: Makefile,v 1.58 1997/06/05 21:20:58 jkh Exp $
+# $Id: Makefile,v 1.59 1997/06/25 08:04:51 msmith Exp $
#
# Doing a make install builds /usr/include
#
@@ -109,9 +109,9 @@ symlinks:
@${ECHO} "Setting up symlinks to kernel source tree..."
.for i in ${LDIRS} ${LNOHEADERDIRS}
rm -rf ${DESTDIR}/usr/include/$i
- ln -s /sys/$i ${DESTDIR}/usr/include/$i
+ ln -s ../../sys/$i ${DESTDIR}/usr/include/$i
.endfor
rm -rf ${DESTDIR}/usr/include/machine
- ln -s /sys/${MACHINE}/include ${DESTDIR}/usr/include/machine
+ ln -s ../../sys/${MACHINE}/include ${DESTDIR}/usr/include/machine
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud