Subject: $@ in make?
To: None <tech-pkg@NetBSD.ORG>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 07/12/1998 01:51:03
Does anyone know how to get the effect of $@ in make?
Looking that the changes in bsd.pkg.mk rev. 1.112, I wonder if there's
something like /bin/sh's $@ in make. Problem is, we have something like
"foo-a.b bar-*" in some var (like DEPENDS :), and I feel rather bad
throwing this to some shell and hoping the globbings doesn't get expanded
by some gross accident. Try adding "*" to some depends to see what I mean.
revision 1.112
date: 1998/07/11 21:12:59; author: tron; state: Exp; lines: +2 -2
Fix dependences check.
- @for dir in "${DEPENDS}"; do \
+ @for dir in ${DEPENDS}; do \
I don't see a better solution as to what tron did for my breaking of
dependencies, but I still wanted to let you know there's some danger in
there.
(And: No, ${DEPENDS:Q} isn't it, as it quotes spaces as well).
- Hubert
--
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>