11.6Ssjg# $NetBSD: export-all.mk,v 1.6 2024/06/01 06:26:36 sjg Exp $
21.1Sapb
31.5SrilligUT_OK=	good
41.5SrilligUT_F=	fine
51.1Sapb
61.1Sapb# the old way to do :tA
71.5SrilligM_tAbad=	C,.*,cd & \&\& 'pwd',:sh
81.1Sapb# the new
91.5SrilligM_tA=		tA
101.1Sapb
111.1Sapbhere := ${.PARSEDIR}
121.1Sapb
131.1Sapb# this will cause trouble (recursing if we let it)
141.5SrilligUT_BADDIR=	${${here}/../${here:T}:L:${M_tAbad}:T}
151.1Sapb# this will be ok
161.5SrilligUT_OKDIR=	${${here}/../${here:T}:L:${M_tA}:T}
171.1Sapb
181.6Ssjg.export-all
191.1Sapb
201.3SrilligFILTER_CMD=	grep ^UT_
211.2Ssjg.include "export.mk"
221.1Sapb
231.5SrilligUT_TEST=	export-all
241.5SrilligUT_ALL=		even this gets exported
25