diff options
author | rillig <rillig@pkgsrc.org> | 2005-05-15 21:10:16 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-05-15 21:10:16 +0000 |
commit | c98f6032439ab805a080e37321f610bf31d69e9f (patch) | |
tree | 7c23df800382e83a37466fc797fae547b1ab2207 /regress/make-quoting/Makefile | |
parent | 0cab38e9c4240e4fd212f8c9fbbbee002d8cea9c (diff) | |
download | pkgsrc-c98f6032439ab805a080e37321f610bf31d69e9f.tar.gz |
Imported make-quoting, a regression test to make sure various weird quoting
styles stay valid when updating the pkgsrc make(1) program. The test cases
also serve as kind of demonstration how things work inside make(1).
Diffstat (limited to 'regress/make-quoting/Makefile')
-rw-r--r-- | regress/make-quoting/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/regress/make-quoting/Makefile b/regress/make-quoting/Makefile new file mode 100644 index 00000000000..6bab0b9ae55 --- /dev/null +++ b/regress/make-quoting/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/05/15 21:10:16 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 + +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" |