summaryrefslogtreecommitdiff
path: root/devel/bmake/files/unit-tests/export-all.mk
blob: 98e861ded721ac7d4b9c0366895c3afde7e64b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: export-all.mk,v 1.1.1.1 2015/05/19 21:36:45 joerg Exp $

UT_OK=good
UT_F=fine

# the old way to do :tA
M_tAbad = C,.*,cd & \&\& 'pwd',:sh
# the new
M_tA = tA

here := ${.PARSEDIR}

# this will cause trouble (recursing if we let it)
UT_BADDIR = ${${here}/../${here:T}:L:${M_tAbad}:T}
# this will be ok
UT_OKDIR = ${${here}/../${here:T}:L:${M_tA}:T}

.export

.include "export.mk"

UT_TEST=export-all
UT_ALL=even this gets exported