2022-02-05 20:03:50 +00:00
|
|
|
# $NetBSD: directive-unexport-env.mk,v 1.8 2022/01/23 16:09:38 rillig Exp $
|
2020-09-05 16:11:04 +00:00
|
|
|
#
|
|
|
|
# Tests for the .unexport-env directive.
|
2021-01-14 01:24:34 +00:00
|
|
|
#
|
|
|
|
# Before 2020-12-13, the directive unexport-env wrongly accepted arguments
|
|
|
|
# and ignored them.
|
|
|
|
#
|
|
|
|
# Before 2020-12-13, misspelled directive names like "unexport-environment"
|
|
|
|
# were not properly detected.
|
2020-09-05 16:11:04 +00:00
|
|
|
|
|
|
|
# TODO: Implementation
|
|
|
|
|
2021-01-14 01:24:34 +00:00
|
|
|
.unexport-en # misspelled
|
2020-11-20 03:54:37 +00:00
|
|
|
.unexport-env # ok
|
2021-01-14 01:24:34 +00:00
|
|
|
.unexport-environment # misspelled
|
|
|
|
|
|
|
|
.MAKEFLAGS: -dv
|
|
|
|
UT_EXPORTED= value
|
|
|
|
UT_UNEXPORTED= value
|
|
|
|
.export UT_EXPORTED
|
|
|
|
.unexport-env UT_EXPORTED UT_UNEXPORTED
|
|
|
|
.MAKEFLAGS: -d0
|
2020-11-20 03:54:37 +00:00
|
|
|
|
2022-02-05 20:03:50 +00:00
|
|
|
all: .PHONY
|