summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libarchive/Makefile')
-rw-r--r--lib/libarchive/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index 971f34d..546abaa 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -410,11 +410,8 @@ MLINKS+= archive_write_set_options.3 archive_write_set_format_option.3
MLINKS+= archive_write_set_options.3 archive_write_set_option.3
MLINKS+= libarchive.3 archive.3
-.PHONY: check test clean-test
-check test:
- cd ${.CURDIR}/test && make obj && make test
-
-clean-test:
- cd ${.CURDIR}/test && make clean
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud