Exit test test if kyua is missing
[elfdbg/.git] / Makefile
1 .include <bsd.own.mk>
2
3 PREFIX?=        /usr/local
4 BINDIR= ${PREFIX}/bin
5
6 PROG=   elfdbg
7 MAN=    elfdbg.1
8 SRCS=   elfdbg.c elf.c compat.c
9
10 test:
11         @if ! type kyua >/dev/null 2>&1; then \
12                 ${ECHO} "kyua not found. Install with pkg install kyua"; exit 1; \
13         fi; \
14
15         @(cd tests && kyua test && kyua report)
16
17 .include <bsd.prog.mk>