pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/misc When PKG_DEBUG_LEVEL is 2 or more, the make ta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb4b5982b322
branches:  trunk
changeset: 532174:fb4b5982b322
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Aug 13 08:45:17 2007 +0000

description:
When PKG_DEBUG_LEVEL is 2 or more, the make target is printed for every
shell command that is run via the RUN macro. This makes the output a
little more verbose, but when you have the need to set PKG_DEBUG_LEVEL
that high, you can probably need the extra help you get from this
change.

diffstat:

 mk/misc/common.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 763a57580858 -r fb4b5982b322 mk/misc/common.mk
--- a/mk/misc/common.mk Mon Aug 13 08:33:45 2007 +0000
+++ b/mk/misc/common.mk Mon Aug 13 08:45:17 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: common.mk,v 1.1 2007/08/13 06:03:46 rillig Exp $
+# $NetBSD: common.mk,v 1.2 2007/08/13 08:45:17 rillig Exp $
 #
 # This file contains the definitions that are used in all directories of
 # pkgsrc -- the top-level, the categories and the packages themselves.
@@ -37,7 +37,7 @@
 .endif
 
 .if ${PKG_DEBUG_LEVEL} > 1
-_PKG_DEBUG=            set -x;
+_PKG_DEBUG=            : commands for target ${.TARGET:Q}; set -x;
 _PKG_DEBUG_SCRIPT=     ${SH} -x
 .endif
 



Home | Main Index | Thread Index | Old Index