summaryrefslogtreecommitdiff
path: root/regress/make-quoting/Makefile
blob: d3ea47bd3ef13d77107f55eb626131cebcf2890b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.2 2005/05/15 22:50:13 rillig Exp $
#

DISTNAME=	regress-make-1.0
CATEGORIES=	regress
DISTFILES=	# empty

MAINTAINER=	rillig@NetBSD.org
COMMENT=	Test Makefile quoting

REGRESS_TESTS=	continue dblquote for ltarget nestfor quoting sglquote	\
	vtarget bug1

do-extract:
	@${_PKG_SILENT}${_PKG_DEBUG}					\
	${MKDIR} ${WRKSRC:Q}

do-build:
.for t in ${REGRESS_TESTS}
	@${_PKG_SILENT}${_PKG_DEBUG}					\
	${ECHO_MSG} "Running testcase "${t:Q};				\
	${MAKE} ${MAKEFLAGS} -s -f ${FILESDIR:Q}/${t:Q}.mk		\
	| diff - ${FILESDIR:Q}/${t:Q}.out
.endfor

.include "../../mk/bsd.pkg.mk"