Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Dec 2003 19:10:16 +0300
From:      Sergey Matveychuk <sem@ciam.ru>
To:        Adam Weinberger <adamw@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Help with 'exists' in Makefile
Message-ID:  <3FD4A268.7020004@ciam.ru>
In-Reply-To: <20031208083513.GX27144@toxic.magnesium.net>
References:  <3FD43680.6090001@ciam.ru> <20031208083513.GX27144@toxic.magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam Weinberger wrote:
>>>(12.08.2003 @ 0329 PST): Sergey Matveychuk said, in 1.5K: <<
>>
>>TESTS_COOKIE=	${WRKDIR}/.tests_built
>>
>>test: build
>>.if exists(${TESTS_COOKIE})
>>	@${ECHO_MSG} "===> Running tests."; \
>>	${ECHO_MSG} "===> Tests done."
>>.else
>>	@${ECHO_MSG} "===> Tests was not build"; \
>>	${ECHO_MSG} ""
>>.endif
>>
>>.include <bsd.port.mk>
>>
>>>end of "Help with 'exists' in Makefile" from Sergey Matveychuk <<
> 
> 
> .include <bsd.port.pre.mk>
> 
> test: build
> .if exists(${TESTS_COOKIE})
> [etc]
> .endif
> 
> .include <bsd.port.post.mk>

Did you test it?
I found no difference. And I think it couldn't help.

---
Sem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FD4A268.7020004>