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 something like: .if exists($(PREFIX)/etc/rc.d) ... -- Coleman Kane _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"