Subject: Re: make: .if exists weirdness
To: Jan Schaumann <>
From: Todd Vierling <>
List: tech-pkg
Date: 07/11/2003 17:54:25
On Fri, 11 Jul 2003, Jan Schaumann wrote:

: FILE1=  ${PREFIX}/lib/
: FILE2=  /usr/pkg/lib/
: .if exists(${FILE1})

Are you including before these lines?  Otherwise ${PREFIX} will
not be set at the time ".if exists" is evaluated, so the first .if is
looking for "/lib/", not "/usr/pkg/lib/".

-- Todd Vierling <>