aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-06-19 01:26:18 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-06-19 01:26:18 +0000
commit5d9eb583bf7af0df8f7b0dcce5f39f1b1c48bd2b (patch)
tree6eb3dfd9b5df31fe333d46cb77f9bb722519c391 /Mk
parent73a22ec732880e86cd9fd2197c7c881d60af5a23 (diff)
downloadports-5d9eb583bf7af0df8f7b0dcce5f39f1b1c48bd2b.tar.gz
ports-5d9eb583bf7af0df8f7b0dcce5f39f1b1c48bd2b.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index f639091c71db..404a93666670 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.206 1996/06/13 06:03:39 asami Exp $
+# $Id: bsd.port.mk,v 1.207 1996/06/19 01:04:23 jkh Exp $
#
# Please view me with 4 column tabs!
@@ -239,9 +239,9 @@ obj:
cleandir:
@${DO_NADA}
.else
-cleandir:
- @rm -rf ${WRKDIR}/${DISTNAME}
- @rm -f ${WRKDIR}/.*_done
+cleandir: clean
+ @if [ "${WRKDIR}" != "${.CURDIR}" ]; then ${RM} -rf ${WRKDIR}/; fi
+ @rm -f ${.CURDIR}/obj
.endif
.endif