1 # $NetBSD: cond-func-exists.mk,v 1.5 2020/10/24 08:46:08 rillig Exp $
3 # Tests for the exists() function in .if conditions.
9 # The argument to the function must not be enclosed in quotes.
10 # Neither double quotes nor single quotes are allowed.
19 # The only way to escape characters that would otherwise influence the parser
20 # is to enclose them in a variable expression. For function arguments,
21 # neither the backslash nor the dollar sign act as escape character.
30 # The argument to the function can have several variable expressions.
31 # See cond-func.mk for the characters that cannot be used directly.
32 .if !exists(${.PARSEDIR}/${.PARSEFILE})
36 # Whitespace is trimmed on both sides of the function argument.