if exists statement
- From: Beech Rintoul <freebsd@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 18 Dec 2006 20:30:28 -0900
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
--
---------------------------------------------------------------------------------------
Beech Rintoul - Sys. Administrator - beech@xxxxxxxxxxxxxxxxxx
/"\ ASCII Ribbon Campaign | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310
X - NO Word docs in e-mail | Anchorage, AK 99501
/ \ - Please visit Alaska Paradise - http://www.alaskaparadise.com
---------------------------------------------------------------------------------------
Attachment:
pgpEBMG4jzEt1.pgp
Description: PGP signature
- Follow-Ups:
- Re: if exists statement
- From: Joseph Koshy
- Re: if exists statement
- From: Coleman Kane
- Re: if exists statement
- Prev by Date: Re: Newbie request - compiling with Xlib.h
- Next by Date: Re: if exists statement
- Previous by thread: re: ASIX Ax88772 anybody?
- Next by thread: Re: if exists statement
- Index(es):
Relevant Pages
|
|