summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-03-29 23:02:29 +0000
committerasami <asami@FreeBSD.org>1999-03-29 23:02:29 +0000
commit6b64c5f82731e7fdc2065707f878a7e75ed76152 (patch)
tree5218d80ec930d6dd1aff14a3278c9e37efe75fb5 /share
parentc149ce5ea1021d3dec1958fc484be53afae91703 (diff)
downloadFreeBSD-src-6b64c5f82731e7fdc2065707f878a7e75ed76152.zip
FreeBSD-src-6b64c5f82731e7fdc2065707f878a7e75ed76152.tar.gz
Create /var/db/pkg/.mkversion file with datestamp.
Diffstat (limited to 'share')
-rw-r--r--share/mk/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/mk/Makefile b/share/mk/Makefile
index 80d3311..58cd1b7 100644
--- a/share/mk/Makefile
+++ b/share/mk/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.20 1998/09/09 10:17:34 bde Exp $
+# $Id: Makefile,v 1.21 1998/11/11 05:21:26 asami Exp $
# @(#)Makefile 8.1 (Berkeley) 6/8/93
FILES= bsd.README
@@ -13,4 +13,7 @@ beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} ${FILES} \
${DESTDIR}${BINDIR}/mk
+afterinstall:
+ date '+%Y%m%d' > /var/db/pkg/.mkversion
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud