Module Name:    src
Committed By:   christos
Date:           Sat Nov  5 23:33:15 UTC 2011

Modified Files:
        src/tests/lib/libc/regex: Makefile

Log Message:
Arrange so that the same tests can be used by libtre.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/regex/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/regex/Makefile
diff -u src/tests/lib/libc/regex/Makefile:1.4 src/tests/lib/libc/regex/Makefile:1.5
--- src/tests/lib/libc/regex/Makefile:1.4	Tue Oct 11 19:04:21 2011
+++ src/tests/lib/libc/regex/Makefile	Sat Nov  5 19:33:15 2011
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.4 2011/10/11 23:04:21 dholland Exp $
+# $NetBSD: Makefile,v 1.5 2011/11/05 23:33:15 christos Exp $
 
 MKMAN=	no
 
 .include <bsd.own.mk>
 
-TESTSDIR=	${TESTSBASE}/lib/libc/regex
+TESTSDIR?=	${TESTSBASE}/lib/libc/regex
 
 BINDIR=		${TESTSDIR}
 PROGS+=		h_regex
@@ -37,7 +37,7 @@ FILES+=		data/word_bound.in
 FILES+=		data/zero.in
 
 t_regex.sh: t_regex.awk t_regex.in
-	${TOOL_AWK} -f ${.CURDIR}/t_regex.awk ${.CURDIR}/t_regex.in > ${.TARGET}
+	${TOOL_AWK} -f ${.ALLSRC} > ${.TARGET}
 
 CLEANFILES+= t_regex.sh
 

Reply via email to