Subject: Re: testing for USE_DESTDIR in a Makefile
To: None <tech-pkg@NetBSD.org>
From: Joerg Sonnenberger <email@example.com>
Date: 07/03/2007 15:05:48
On Mon, Jul 02, 2007 at 09:21:48PM +0200, Klaus Heinz wrote:
> Joerg Sonnenberger wrote:
> > _USE_DESTDIR. It might be a good idea to do that in all cases. Indepent
> > of that, the variable is always set, so no need to check for defined.
> Ok, I can forget about defined(USE_DESTDIR) but what about the real
> question: can I rely on USE_DESTDIR=no if DESTDIR mode is switched off?
Yes, you can.