Use ${DESTDIR} correctly in front of absolute paths.

This commit is contained in:
Satoshi Asami 1997-05-23 08:24:00 +00:00
parent 3c933bcddd
commit 6ded366aaa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26047
3 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
# @(#)Makefile 8.2 (Berkeley) 2/3/94
# $Id$
# $Id: Makefile,v 1.18 1997/05/03 03:49:51 jb Exp $
#
# All library objects contain rcsid strings by default; they may be
# excluded as a space-saving measure. To produce a library that does
@ -29,11 +29,11 @@ KSRCS= bcmp.c ffs.c index.c mcount.c rindex.c strcat.c strcmp.c strcpy.c \
libkern: libkern.gen libkern.${MACHINE}
libkern.gen: ${KQSRCS} ${KSRCS}
cp -p ${.CURDIR}/quad/quad.h ${.ALLSRC} /sys/libkern
cp -p ${.CURDIR}/quad/quad.h ${.ALLSRC} ${DESTDIR}/sys/libkern
libkern.${MACHINE}:: ${KMSRCS}
.if defined(KMSRCS) && !empty(KMSRCS)
cp -p ${.ALLSRC} /sys/libkern/${MACHINE}
cp -p ${.ALLSRC} ${DESTDIR}/sys/libkern/${MACHINE}
.endif
.include <bsd.lib.mk>

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile.inc 5.3 (Berkeley) 2/20/91
# $Id: Makefile.inc,v 1.4 1997/02/22 15:04:58 peter Exp $
# $Id: Makefile.inc,v 1.5 1997/05/03 03:50:06 jb Exp $
# yp sources
.PATH: ${.CURDIR}/../libc/yp
@ -7,7 +7,7 @@
SRCS+= xdryp.c yp_xdr.c yplib.c
CLEANFILES+= yp_xdr.c yp.h
RPCSRC= ${.DESTDIR}/usr/include/rpcsvc/yp.x
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/yp.x
RPCGEN= rpcgen
yp_xdr.c: ${RPCSRC} yp.h

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.10 (Berkeley) 6/24/90
# $Id$
# $Id: Makefile,v 1.8 1997/02/22 15:07:51 peter Exp $
.PATH: ${DESTDIR}/usr/include/rpcsvc
@ -10,7 +10,7 @@ RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
RPCCOM = rpcgen
INCDIRS= -I/usr/include/rpcsvc
INCDIRS= -I${DESTDIR}/usr/include/rpcsvc
CFLAGS+= ${INCDIRS}
SRCS= ${RPCSRCS:R:S/$/_xdr.c/g}