freebsd-nq/contrib/bmake/unit-tests/export-all.mk
Simon J. Gerraty db29cad815 Merge bmake-20150418
PR: 199486
2015-04-21 04:40:38 +00:00

24 lines
435 B
Makefile

# $Id: export-all.mk,v 1.1.1.2 2015/04/10 20:43:38 sjg 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