summaryrefslogtreecommitdiff
path: root/mk/misc
diff options
context:
space:
mode:
authorrillig <rillig>2007-08-13 08:45:17 +0000
committerrillig <rillig>2007-08-13 08:45:17 +0000
commit77873ac69b37de46cfc6392aea7698ef653b0c7b (patch)
tree21a45ae0dc71188ce938d4aef9868206ff110e10 /mk/misc
parent6c1ae5b04b9a8b8bf4671ee30b25d7e7738cdbc5 (diff)
downloadpkgsrc-77873ac69b37de46cfc6392aea7698ef653b0c7b.tar.gz
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 (limited to 'mk/misc')
-rw-r--r--mk/misc/common.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/misc/common.mk b/mk/misc/common.mk
index 10db29c68c3..5fbe60de22c 100644
--- a/mk/misc/common.mk
+++ b/mk/misc/common.mk
@@ -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 @@ _PKG_SILENT= # empty
.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