aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/directive-export-literal.mk
blob: 51e5b522a3b9efeed7e1019cfbdf22aa1f4e4141 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: directive-export-literal.mk,v 1.6 2020/11/03 17:17:31 rillig Exp $
#
# Tests for the .export-literal directive, which exports a variable value
# without expanding it.

UT_VAR=		value with ${UNEXPANDED} expression

.export-literal UT_VAR

.export-litera			# oops: misspelled
.export-literal			# oops: missing argument
.export-literally		# oops: misspelled

all:
	@echo "$$UT_VAR"