Re: if exists statement

2006-12-18 Thread Joseph Koshy
.if exists= ${PREFIX}/etc/rc.d exit else ${MKDIR} ${PREFIX}/etc/rc.d .endif but it doesn't work. Can someone give me the right syntax? .if exists(${PREFIX}/etc/rc.d) .else .endif -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy ___ free

Re: if exists statement

2006-12-18 Thread Coleman Kane
On 12/18/06, Beech Rintoul <[EMAIL PROTECTED]> wrote: I'm trying to write an if exists for a port makefile. I tried: .if exists= ${PREFIX}/etc/rc.d exit else ${MKDIR} ${PREFIX}/etc/rc.d .endif but it doesn't work. Can someone give me the right syntax? TIA Beech -- I think you want somet