pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk In the distclean target, if PKG_RESUME_TRANSFERS is...
details: https://anonhg.NetBSD.org/pkgsrc/rev/199abd99b47f
branches: trunk
changeset: 491315:199abd99b47f
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Tue Mar 22 22:49:15 2005 +0000
description:
In the distclean target, if PKG_RESUME_TRANSFERS is set, clean
the temp files too.
diffstat:
mk/bsd.pkg.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 50868cac87d5 -r 199abd99b47f mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Tue Mar 22 22:45:58 2005 +0000
+++ b/mk/bsd.pkg.mk Tue Mar 22 22:49:15 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1602 2005/03/22 22:20:21 xtraeme Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1603 2005/03/22 22:49:15 xtraeme Exp $
#
# This file is in the public domain.
#
@@ -3593,6 +3593,9 @@
${_PKG_SILENT}${_PKG_DEBUG}if [ -d ${_DISTDIR} ]; then \
cd ${_DISTDIR} && \
${TEST} -z "${DISTFILES}" || ${RM} -f ${DISTFILES}; \
+ if [ "${PKG_RESUME_TRANSFERS:M[Yy][Ee][Ss]}" ]; then \
+ ${TEST} -z "${DISTFILES}.temp" || ${RM} -f ${DISTFILES}.temp; \
+ fi; \
${TEST} -z "${PATCHFILES}" || ${RM} -f ${PATCHFILES}; \
fi
. if defined(DIST_SUBDIR) && exists(DIST_SUBDIR)
Home |
Main Index |
Thread Index |
Old Index