summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tar/Makefile')
-rw-r--r--usr.bin/tar/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile
index 2b42adc..06d9629 100644
--- a/usr.bin/tar/Makefile
+++ b/usr.bin/tar/Makefile
@@ -40,11 +40,8 @@ CFLAGS+= -I${LIBARCHIVEDIR}/libarchive_fe
SYMLINKS= bsdtar ${BINDIR}/tar
MLINKS= bsdtar.1 tar.1
-.PHONY: check test clean-test
-check test: $(PROG) bsdtar.1.gz
- cd ${.CURDIR}/test && make obj && make test
-
-clean-test:
- cd ${.CURDIR}/test && make clean
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud