echo -> ${ECHO}

do the rm -rf and ln -s in two seperate commands to allow a fork/exec
without a "sh -c" in the middle.

Submitted by: bde
This commit is contained in:
Peter Wemm 1996-08-30 19:37:14 +00:00
parent 0fd77885de
commit 1133312c37
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17954

View File

@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
# $Id: Makefile,v 1.40 1996/08/20 08:19:33 julian Exp $
# $Id: Makefile,v 1.41 1996/08/29 19:57:48 peter Exp $
#
# Doing a make install builds /usr/include
#
@ -100,12 +100,12 @@ copies:
.endif
symlinks:
@echo "Setting up symlinks to kernel source tree..."
@${ECHO} "Setting up symlinks to kernel source tree..."
.for i in ${LDIRS} ${LUDIR}
rm -rf ${DESTDIR}/usr/include/$i && \
ln -s /sys/$i ${DESTDIR}/usr/include/$i
rm -rf ${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
rm -rf ${DESTDIR}/usr/include/machine
ln -s /sys/${MACHINE}/include ${DESTDIR}/usr/include/machine
.include <bsd.prog.mk>