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.prog.mk,v retrieving revision 1.60 retrieving revision 1.61 diff -u -p -r1.60 -r1.61 --- src/share/mk/bsd.prog.mk 1997/01/22 01:34:13 1.60 +++ src/share/mk/bsd.prog.mk 1997/03/13 02:46:00 1.61 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prog.mk,v 1.60 1997/01/22 01:34:13 cgd Exp $ +# $NetBSD: bsd.prog.mk,v 1.61 1997/03/13 02:46:00 perry Exp $ # @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 .if exists(${.CURDIR}/../Makefile.inc) @@ -139,6 +139,18 @@ install: maninstall _SUBDIRUSE 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 maninstall: afterinstall afterinstall: realinstall