summaryrefslogtreecommitdiff
path: root/misc/tet
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>1998-10-27 03:34:54 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>1998-10-27 03:34:54 +0000
commit2464554ac138b6262c15ad22ecd187ad70ec79b6 (patch)
tree16cdbd5a365f8cc02040d20d7266b381b499b443 /misc/tet
parentUpgrade to version 5.0.10 (diff)
Simplify the clean targets.
Pointed-out-by: asami
Notes
Notes: svn path=/head/; revision=14205
Diffstat (limited to 'misc/tet')
-rw-r--r--misc/tet/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/misc/tet/Makefile b/misc/tet/Makefile
index 8afe119264ed..a870ccabd7d2 100644
--- a/misc/tet/Makefile
+++ b/misc/tet/Makefile
@@ -3,7 +3,7 @@
# Date created: 02 Oct 1998
# Whom: jkoshy
#
-# $Id: Makefile,v 1.2 1998/10/25 00:58:16 jkoshy Exp $
+# $Id: Makefile,v 1.3 1998/10/26 03:10:58 jkoshy Exp $
#
DISTNAME= tet3.2c-unsup
@@ -39,10 +39,9 @@ pre-extract:
# remove the TET_ROOT directory if it exists
pre-clean:
.if defined(TET_ROOT)
- if [ -d ${TET_ROOT} ]; then ${RM} -rf ${TET_ROOT}; fi
-.else
- @true
+ ${RM} -rf ${TET_ROOT}
.endif
+ ${RM} -rf ${WRKDIR}
# move the work directory to $TET_ROOT after extraction
post-extract:
@@ -54,7 +53,4 @@ post-extract:
do-install:
cd ${WRKDIR}/src && ${MAKE} ${INSTALL_TARGET}
-post-clean:
- ${RM} -rf ${TET_ROOT}
-
.include <bsd.port.mk>