summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-08-17 10:05:19 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-08-17 10:05:19 +0000
commit730a8213be8c9f307f1e3d291cb9b664084d76d8 (patch)
tree9146da238db4af76f8eddf81cb34843182e35945 /regress
parent2536096e59d8fe35891632578bf1b1c7f178de07 (diff)
M4 indirection, to test other binaries more easily.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/m4/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/regress/usr.bin/m4/Makefile b/regress/usr.bin/m4/Makefile
index 76c61a721ba..c4fb6e6a6f8 100644
--- a/regress/usr.bin/m4/Makefile
+++ b/regress/usr.bin/m4/Makefile
@@ -1,29 +1,30 @@
-# $OpenBSD: Makefile,v 1.4 2000/07/02 01:21:04 espie Exp $
+# $OpenBSD: Makefile,v 1.5 2001/08/17 10:05:18 espie Exp $
# $NetBSD: Makefile,v 1.2 1999/02/13 02:54:33 lukem Exp $
NOMAN=
NOPROG=
FIBOMAX=25
+M4=m4
CLEANFILES+= ff_after_dnl.m4 fibo.out
regress: test-ff_after_dnl test-m4wrap test-fibo
test-ff_after_dnl: ff_after_dnl.m4
- m4 ff_after_dnl.m4 | diff - ${.CURDIR}/ff_after_dnl.out
+ ${M4} ff_after_dnl.m4 | diff - ${.CURDIR}/ff_after_dnl.out
ff_after_dnl.m4: ff_after_dnl.m4.uu
uudecode ${.CURDIR}/ff_after_dnl.m4.uu
test-m4wrap:
- m4 ${.CURDIR}/m4wrap.m4 | diff - ${.CURDIR}/m4wrap.out
+ ${M4} ${.CURDIR}/m4wrap.m4 | diff - ${.CURDIR}/m4wrap.out
fibo.out:
perl ${.CURDIR}/fibo.pl ${FIBOMAX} >$@
test-fibo: fibo.out
- m4 -DN=${FIBOMAX} ${.CURDIR}/fibo.m4| diff - fibo.out
+ ${M4} -DN=${FIBOMAX} ${.CURDIR}/fibo.m4| diff - fibo.out
.PHONY: test-ff_after_dnl test-m4wrap test-fibo