summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-11-12 15:20:06 +0000
committertron <tron@pkgsrc.org>2000-11-12 15:20:06 +0000
commit0bf6e404733e27e3494f864ff0d24ea17f5eca1d (patch)
tree4f38da8c6a150e41fd67237c09d0190b23f243af
parenta22425c7a5a23ddc07ab9dba4f8bc9ee86f5b73c (diff)
downloadpkgsrc-0bf6e404733e27e3494f864ff0d24ea17f5eca1d.tar.gz
Add new "check" target which invokes "pkg_admin check" for the current
package.
-rw-r--r--mk/bsd.pkg.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 85049345351..ab9d850c187 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.603 2000/11/12 02:46:53 fredb Exp $
+# $NetBSD: bsd.pkg.mk,v 1.604 2000/11/12 15:20:06 tron Exp $
#
# This file is in the public domain.
#
@@ -2183,6 +2183,11 @@ ${DLIST}:
info: uptodate-pkgtools
${_PKG_SILENT}${_PKG_DEBUG}${PKG_INFO} ${PKGWILDCARD}
+# The 'check' target can be used to check an installed package.
+
+check: uptodate-pkgtools
+ ${_PKG_SILENT}${_PKG_DEBUG}${PKG_ADMIN} check ${PKGWILDCARD}
+
# This is for the use of sites which store distfiles which others may
# fetch - only fetch the distfile if it is allowed to be
# re-distributed freely