aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/directive-export-literal.mk
blob: 5fafa4a7282d92cbfab72ca18e0e6e41ae50da5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $NetBSD: directive-export-literal.mk,v 1.7 2020/12/13 01:07:54 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-literal			# oops: missing argument

all:
	@echo "$$UT_VAR"