make .if short-circuit evaluation

Edgar Fuß <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
I'm probably doing something stupidly wrong, but man make says:
	As in C, make will only evaluate a conditional as far as is necessary to
	determine its value.
however,
	x= /nonexistent
	.if exists(${x}) && ${x:sh} != 0
	.endif
complains
	sh: /nonexistent: not found

what am I missing?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.