summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-03-31 23:53:50 +0000
committerasami <asami@FreeBSD.org>1999-03-31 23:53:50 +0000
commit60c46fe782a15c40cf723163ec2539c69f2259bb (patch)
tree1b9e373f32801db1e3daf8a5b58ddec309ecc8c9
parentf82b2f5d468da2d1d656febd670eca6e2d35b001 (diff)
downloadFreeBSD-src-60c46fe782a15c40cf723163ec2539c69f2259bb.zip
FreeBSD-src-60c46fe782a15c40cf723163ec2539c69f2259bb.tar.gz
Add ${DESTDIR} to installation path. Move target to under beforeinstall:.
Submitted by: bde
-rw-r--r--share/mk/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/share/mk/Makefile b/share/mk/Makefile
index 6de69bb..fa11a1d 100644
--- a/share/mk/Makefile
+++ b/share/mk/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.23 1999/03/31 12:15:33 sada Exp $
+# $Id: Makefile,v 1.24 1999/03/31 15:38:38 sada Exp $
# @(#)Makefile 8.1 (Berkeley) 6/8/93
FILES= bsd.README
@@ -12,8 +12,6 @@ NOOBJ= noobj
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} ${FILES} \
${DESTDIR}${BINDIR}/mk
-
-afterinstall:
- date '+%Y%m%d' > /var/db/pkg/.mkversion
+ date '+%Y%m%d' > ${DESTDIR}/var/db/pkg/.mkversion
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud