summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-29 03:18:40 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-29 03:18:40 +0000
commitfeeae662deef1fbf97cd8474340fdaccc530ef49 (patch)
tree8536951d01895f7fa66dfd9e3b5a2e385ca297a3 /Makefile
parent5f4d560948715851e29818a6ab0b69563734a243 (diff)
remove global cache at start of "make build" if GLOBAL_CACHE option is in effect
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6ecff842358..175f77660c2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 1997/04/19 21:26:09 millert Exp $
+# $OpenBSD: Makefile,v 1.18 1997/07/29 03:18:39 kstailey Exp $
# $NetBSD: Makefile,v 1.25 1995/10/09 02:11:28 thorpej Exp $
#
@@ -59,6 +59,9 @@ afterinstall:
.endif
build:
+.ifdef GLOBAL_CACHE
+ rm -f $HOME/.Makefile.bsd-wrapper.cache
+.endif
(cd ${.CURDIR}/share/mk && ${MAKE} install)
(cd ${.CURDIR}/include; ${MAKE} includes)
${MAKE} cleandir