pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Suppress the message that ".DDIR is up-to-date" by ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fafa5698186b
branches: trunk
changeset: 519566:fafa5698186b
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Oct 05 12:56:27 2006 +0000
description:
Suppress the message that ".DDIR is up-to-date" by introducing a .PHONY
target.
diffstat:
mk/bsd.pkg.update.mk | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 7613a752d194 -r fafa5698186b mk/bsd.pkg.update.mk
--- a/mk/bsd.pkg.update.mk Thu Oct 05 12:41:24 2006 +0000
+++ b/mk/bsd.pkg.update.mk Thu Oct 05 12:56:27 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.update.mk,v 1.6 2006/07/27 21:46:45 jlam Exp $
+# $NetBSD: bsd.pkg.update.mk,v 1.7 2006/10/05 12:56:27 rillig Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and contains the targets
# and variables for "make update".
@@ -32,6 +32,9 @@
_DDIR= ${WRKDIR}/.DDIR
_DLIST= ${WRKDIR}/.DLIST
+.PHONY: update-create-ddir
+update-create-ddir: ${_DDIR}
+
.PHONY: update
.if !target(update)
.if exists(${_DDIR})
@@ -49,7 +52,7 @@
CLEAR_DIRLIST?= YES
update:
- ${_PKG_SILENT}${_PKG_DEBUG}${RECURSIVE_MAKE} ${MAKEFLAGS} ${_DDIR}
+ ${_PKG_SILENT}${_PKG_DEBUG}${RECURSIVE_MAKE} ${MAKEFLAGS} update-create-ddir
. if ${UPDATE_TARGET} != "replace"
${_PKG_SILENT}${_PKG_DEBUG}if ${PKG_INFO} -qe ${PKGBASE}; then \
${RECURSIVE_MAKE} ${MAKEFLAGS} deinstall _UPDATE_RUNNING=YES DEINSTALLDEPENDS=ALL \
@@ -82,7 +85,7 @@
.PHONY: clean-update
clean-update:
- ${_PKG_SILENT}${_PKG_DEBUG}${RECURSIVE_MAKE} ${MAKEFLAGS} ${_DDIR}
+ ${_PKG_SILENT}${_PKG_DEBUG}${RECURSIVE_MAKE} ${MAKEFLAGS} update-create-ddir
${_PKG_SILENT}${_PKG_DEBUG} \
if [ -s ${_DDIR} ] ; then \
for dep in `${CAT} ${_DDIR}` ; do \
Home |
Main Index |
Thread Index |
Old Index