View | Details | Raw Unified | Return to bug 64327
Collapse All | Expand All

(-)make.1 (+11 lines)
Lines 1266-1271 Link Here
1266
\&.endfor
1266
\&.endfor
1267
.Ed
1267
.Ed
1268
won't work, and should be rewritten the other way around.
1268
won't work, and should be rewritten the other way around.
1269
.Pp
1270
Undefined variables are not expanded when assigned with expansion.
1271
This is intentional, but may lead to surprising results:
1272
.Bd -literal
1273
VAR1:=  Assigned with${OUT} expansion
1274
VAR2!=  echo Assigned with${OUT} expansion
1275
OUT=    out
1276
all:
1277
    @echo := - ${VAR1}
1278
    @echo != - ${VAR2}
1279
.Ed
1269
.Sh SEE ALSO
1280
.Sh SEE ALSO
1270
.Xr mkdep 1 ,
1281
.Xr mkdep 1 ,
1271
.Xr make.conf 5
1282
.Xr make.conf 5

Return to bug 64327