diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-09-18 21:06:47 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-09-18 21:06:47 +0000 |
commit | 405c7c5b1619d1d202b31baaa983ff1e5d7bce6d (patch) | |
tree | feab3888f1c0c97c3019621035f4da7cd2a69624 /regress/lib/libedit/chared | |
parent | 283cdefa5c9cf922222c8a47f07fa584d9221d70 (diff) |
The libedit regress tests require header files generated during the
build. Add a dependency to run make depend in /usr/src/lib/libedit.
Problem found by otto@; OK schwarze@
Diffstat (limited to 'regress/lib/libedit/chared')
-rw-r--r-- | regress/lib/libedit/chared/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/regress/lib/libedit/chared/Makefile b/regress/lib/libedit/chared/Makefile index 75731db563d..3d1e35c6d0e 100644 --- a/regress/lib/libedit/chared/Makefile +++ b/regress/lib/libedit/chared/Makefile @@ -1,8 +1,6 @@ -# $OpenBSD: Makefile,v 1.2 2016/04/11 21:15:11 schwarze Exp $ +# $OpenBSD: Makefile,v 1.3 2016/09/18 21:06:46 bluhm Exp $ # # Author: Ingo Schwarze <schwarze@openbsd.org>, 2016. Public Domain. -# -# Run "cd /usr/src/lib/libedit && make obj && make depend" first. REGRESS_TARGETS = gets @@ -12,6 +10,11 @@ CPPFLAGS += -I${.OBJDIR}/../../../../lib/libedit MAN = CLEANFILES += out_gets.utf8 out_gets.ascii +depend: + cd ${.CURDIR}/../../../../lib/libedit && make depend +${PROG}: depend +regress: ${PROG} + gets: LC_ALL=en_US.UTF-8 ./test_gets < ${.CURDIR}/inp_gets.txt > out_gets.utf8 diff -au ${.CURDIR}/exp_gets.utf8 out_gets.utf8 |