*6.3.1 Substitution References* passes the literal string "var" into
patsubst instead of expanding the variable.

> A substitution reference is shorthand for the patsubst expansion function
> (see Functions for String Substitution and Analysis
> <https://www.gnu.org/software/make/manual/make.html#Text-Functions>): ‘$(
> var:a=b)’ is equivalent to ‘$(patsubst %a,%b,*var*)’. We provide
> substitution references as well as patsubst for compatibility with other
> implementations of make.

*7.2 Syntax of Conditionals* claims that there are four different
directives but goes on to list five of them:

> The syntax of the conditional-directive is the same whether the
> conditional is simple or complex; after an else or not. There are *four*
> different directives that test different conditions. Here is a table of
> them:
> ifeq (arg1, arg2)
> *1*ifeq 'arg1' 'arg2'
> *2*ifeq "arg1" "arg2"
> *3*ifeq "arg1" 'arg2'
> *4*ifeq 'arg1' "arg2" *5?*

Reply via email to