.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
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
2 matches
Mail list logo