freebsd-src/unit-tests/parse-var.mk
Simon J. Gerraty 302da1a3d3 Import bmake-20201101
Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py
2020-11-07 19:39:21 +00:00

14 lines
309 B
Makefile

# $NetBSD: parse-var.mk,v 1.1 2020/10/04 06:53:15 rillig Exp $
.MAKEFLAGS: -dL
# In variable assignments, there may be spaces on the left-hand side of the
# assignment, but only if they occur inside variable expressions.
VAR.${:U param }= value
.if ${VAR.${:U param }} != "value"
. error
.endif
all:
@:;