Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Only include the tests directory in SUBDIR if atf(7) is on the path.
Matthew Seaman committed 12 years ago
commit 9b806c7dce36094c5a125b0eaf63cf347b1a7f26
parent 6c0d16e
1 file changed +7 -2
modified Makefile
@@ -1,8 +1,7 @@

SUBDIR=	external \
	libpkg \
-
	pkg \
-
	tests
+
	pkg

NEWVERS=	newvers.sh

@@ -10,6 +9,12 @@ NEWVERS= newvers.sh
SUBDIR+=	pkg-static
.endif

+
ATF_INSTALLED!=	( which atf-version ) 2>&1 || true
+

+
.if !empty(ATF_INSTALLED)
+
SUBDIR+=	tests
+
.endif
+

PKGVERSION!=    sh ${NEWVERS} pkg

# Sources for all the files modified by changing version strings.