diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-19 01:26:18 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-19 01:26:18 +0000 |
commit | 5d9eb583bf7af0df8f7b0dcce5f39f1b1c48bd2b (patch) | |
tree | 6eb3dfd9b5df31fe333d46cb77f9bb722519c391 /Mk | |
parent | 73a22ec732880e86cd9fd2197c7c881d60af5a23 (diff) | |
download | ports-5d9eb583bf7af0df8f7b0dcce5f39f1b1c48bd2b.tar.gz ports-5d9eb583bf7af0df8f7b0dcce5f39f1b1c48bd2b.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 8 |
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 |