Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Only include the tests directory in SUBDIR if atf(7) is on the path.
Matthew Seaman committed 13 years ago
commit 9b806c7dce36094c5a125b0eaf63cf347b1a7f26
parent 6c0d16e181c7bdc2ace56727478738d9b759340a
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.