From b596cd9ea7d99dc1b30210d04531e83c8f9aef43 Mon Sep 17 00:00:00 2001 From: minskim Date: Mon, 9 Feb 2004 23:19:27 +0000 Subject: Remove a temporary directory created at post-install, so that a non-root user can 'make clean'. Approved by wiz@. --- x11/tk/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'x11') diff --git a/x11/tk/Makefile b/x11/tk/Makefile index 017d516468d..0f75cf39cee 100644 --- a/x11/tk/Makefile +++ b/x11/tk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2004/02/07 17:37:24 minskim Exp $ +# $NetBSD: Makefile,v 1.27 2004/02/09 23:19:27 minskim Exp $ DISTNAME= tk8.3.4 PKGNAME= tk-8.3.4 @@ -52,6 +52,7 @@ pre-install: post-install: cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX} + ${RM} -rf ${WRKDIR}/man ${RM} -f ${PREFIX}/bin/wish cd ${PREFIX}/bin && ${LN} -s wish8.3 wish ${INSTALL_DATA_DIR} ${PREFIX}/include/tk -- cgit v1.2.3