diff options
author | jkoshy <jkoshy@FreeBSD.org> | 1998-10-27 11:34:54 +0800 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 1998-10-27 11:34:54 +0800 |
commit | c45af35adf4bb543a86fde3c527cc8ecd14099cc (patch) | |
tree | 476fec3322086961867fdd795cb5f5886d5a1c51 /misc/tet/Makefile | |
parent | 042a0122b144d8f5001a7174c66b2a2d02b41b0c (diff) | |
download | freebsd-ports-gnome-c45af35adf4bb543a86fde3c527cc8ecd14099cc.tar.gz freebsd-ports-gnome-c45af35adf4bb543a86fde3c527cc8ecd14099cc.tar.zst freebsd-ports-gnome-c45af35adf4bb543a86fde3c527cc8ecd14099cc.zip |
Simplify the clean targets.
Pointed-out-by: asami
Diffstat (limited to 'misc/tet/Makefile')
-rw-r--r-- | misc/tet/Makefile | 10 |
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> |