956e45f6fb
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
20 lines
541 B
Makefile
20 lines
541 B
Makefile
# $NetBSD: unexport.mk,v 1.5 2020/10/24 08:50:17 rillig Exp $
|
|
|
|
# pick up a bunch of exported vars
|
|
FILTER_CMD= grep ^UT_
|
|
.include "export.mk"
|
|
|
|
.unexport UT_ZOO UT_FOO
|
|
|
|
UT_TEST= unexport
|
|
|
|
# Until 2020-08-08, Var_UnExport had special handling for '\n', that code
|
|
# was not reachable though. At that point, backslash-newline has already
|
|
# been replaced with a simple space, and variables are not yet expanded.
|
|
UT_BEFORE_NL= before
|
|
UT_AFTER_NL= after
|
|
.export UT_BEFORE_NL UT_AFTER_NL
|
|
.unexport \
|
|
UT_BEFORE_NL
|
|
.unexport ${.newline} UT_AFTER_NL
|