Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/share/mk/bsd.lib.mk,v retrieving revision 1.83 retrieving revision 1.84 diff -u -p -r1.83 -r1.84 --- src/share/mk/bsd.lib.mk 1997/02/17 19:24:47 1.83 +++ src/share/mk/bsd.lib.mk 1997/03/13 02:46:00 1.84 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.lib.mk,v 1.83 1997/02/17 19:24:47 cgd Exp $ +# $NetBSD: bsd.lib.mk,v 1.84 1997/03/13 02:46:00 perry Exp $ # @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 .if exists(${.CURDIR}/../Makefile.inc) @@ -218,6 +218,18 @@ realinstall: ln $$l $$t; \ done; true .endif +.if defined(SYMLINKS) && !empty(SYMLINKS) + @set ${SYMLINKS}; \ + while test $$# -ge 2; do \ + l=${DESTDIR}$$1; \ + shift; \ + t=${DESTDIR}$$1; \ + shift; \ + echo $$t -\> $$l; \ + rm -f $$t; \ + ln -s $$l $$t; \ + done; true +.endif install: maninstall _SUBDIRUSE maninstall: afterinstall