: work for .include]
To: Hubert Feyrer <hubert@feyrer.de>
From: David Brownlee <abs@NetBSD.org>
List: tech-toolchain
Date: 10/20/2007 14:16:53
On Sat, 20 Oct 2007, Hubert Feyrer wrote:
>
> Just an idea:
>
> I was wading through the mess of .if(n)def statements in pkgsrc/mk/* a few
> weeks ago, trying to find out what branches it runs into. I found debugging
> this tedious, and wished for a statement to tell me where it currently is,
> something like
>
> .print "hello"
>
> Do you think that can/should be added to make?
I find myself often using (somewhat ugly) constructs of the form
X!=echo hello >&2;echo x
for just this case
--
David/absolute -- www.NetBSD.org: No hype required --