diff options
author | rillig <rillig@pkgsrc.org> | 2007-03-16 09:53:37 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-03-16 09:53:37 +0000 |
commit | c319d43a9ee2dd806f93b9db6f1ac2342c882925 (patch) | |
tree | d2ff541d24ebd0f1c8fae03c336e855096876283 /mk | |
parent | afc88851eb786245d7791c0b803f5916fdc9124e (diff) | |
download | pkgsrc-c319d43a9ee2dd806f93b9db6f1ac2342c882925.tar.gz |
Don't evaluate variables unless there's reason to do. This fixes warning
messages like:
cd ${WRKOBJDIR}/x11/kdebase3/work/kdebase-3.5.6 && echo "__dummy-ent ...
cd: can't cd to ${WRKOBJDIR}/x11/kdelibs3/work/kdelibs-3.5.6
Diffstat (limited to 'mk')
-rw-r--r-- | mk/misc/show.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/misc/show.mk b/mk/misc/show.mk index 5ce24c8fb2f..9afe9be44de 100644 --- a/mk/misc/show.mk +++ b/mk/misc/show.mk @@ -1,4 +1,4 @@ -# $NetBSD: show.mk,v 1.2 2007/03/15 22:54:24 rillig Exp $ +# $NetBSD: show.mk,v 1.3 2007/03/16 09:53:37 rillig Exp $ # # This file contains some targets that print information gathered from # variables. They do not modify any variables. @@ -79,6 +79,7 @@ _LETTER._USER_VARS= U _LETTER._PKG_VARS= P _LETTER._SYS_VARS= S +.if make(show-all) show-all: .PHONY .for g in ${_VARGROUPS:O:u} @@ -101,3 +102,4 @@ show-all-${g}: .PHONY . endfor @echo "" .endfor +.endif |