Fix SYMLINKS not to include DESTDIR in the link itself

This commit is contained in:
perry 1997-03-22 22:33:53 +00:00
parent a13464f5c9
commit 1d624f4f7e
4 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.README,v 1.19 1997/03/13 02:45:58 perry Exp $
# $NetBSD: bsd.README,v 1.20 1997/03/22 22:33:53 perry Exp $
# @(#)bsd.README 5.1 (Berkeley) 5/11/90
This is the README file for the new make "include" files for the BSD
@ -268,7 +268,8 @@ LINKS The list of binary links; should be full pathnames, the
LINKS= ${DESTDIR}/bin/test ${DESTDIR}/bin/[
SYMLINKS The list of symbolic links; should be full pathnames.
Syntax is identical to LINKS.
Syntax is identical to LINKS. Note that DESTDIR is not
automatically included in the link.
MAN Manual pages (should end in .1 - .9). If no MAN variable is
defined, "MAN=${PROG}.1" is assumed.

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.kmod.mk,v 1.8 1997/03/13 02:45:59 perry Exp $
# $NetBSD: bsd.kmod.mk,v 1.9 1997/03/22 22:33:56 perry Exp $
S!= cd ${.CURDIR}/..;pwd
@ -89,7 +89,7 @@ install: maninstall _SUBDIRUSE
.if defined(SYMLINKS) && !empty(SYMLINKS)
@set ${SYMLINKS}; \
while test $$# -ge 2; do \
l=${DESTDIR}$$1; \
l=$$1; \
shift; \
t=${DESTDIR}$$1; \
shift; \

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.lib.mk,v 1.86 1997/03/15 11:35:04 jonathan Exp $
# $NetBSD: bsd.lib.mk,v 1.87 1997/03/22 22:33:57 perry Exp $
# @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
.if exists(${.CURDIR}/../Makefile.inc)
@ -272,7 +272,7 @@ realinstall:
.if defined(SYMLINKS) && !empty(SYMLINKS)
@set ${SYMLINKS}; \
while test $$# -ge 2; do \
l=${DESTDIR}$$1; \
l=$$1; \
shift; \
t=${DESTDIR}$$1; \
shift; \

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.prog.mk,v 1.61 1997/03/13 02:46:00 perry Exp $
# $NetBSD: bsd.prog.mk,v 1.62 1997/03/22 22:34:02 perry Exp $
# @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
.if exists(${.CURDIR}/../Makefile.inc)
@ -142,7 +142,7 @@ install: maninstall _SUBDIRUSE
.if defined(SYMLINKS) && !empty(SYMLINKS)
@set ${SYMLINKS}; \
while test $$# -ge 2; do \
l=${DESTDIR}$$1; \
l=$$1; \
shift; \
t=${DESTDIR}$$1; \
shift; \