diff options
author | tron <tron> | 2002-09-08 06:59:26 +0000 |
---|---|---|
committer | tron <tron> | 2002-09-08 06:59:26 +0000 |
commit | c654c99a73df805c3993242fe98ffce36696098f (patch) | |
tree | 646e3830a5cf57c932718fcd745cd9dfa233d20a /mk | |
parent | 892090d1a6acf8957eebfec53205b0c005a04c3d (diff) | |
download | pkgsrc-c654c99a73df805c3993242fe98ffce36696098f.tar.gz |
Add a "list" target which invokes "pkg_info -L" for the current package.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 62ac0af70df..ed73c21b5f7 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1043 2002/09/06 08:10:40 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1044 2002/09/08 06:59:26 tron Exp $ # # This file is in the public domain. # @@ -2954,6 +2954,10 @@ info: uptodate-pkgtools check: uptodate-pkgtools ${_PKG_SILENT}${_PKG_DEBUG}${PKG_ADMIN} check ${PKGWILDCARD} +# The 'list' target can be used to list the files installed by a package. +list: uptodate-pkgtools + ${_PKG_SILENT}${_PKG_DEBUG}${PKG_INFO} -L ${PKGWILDCARD} + # Run pkglint: lint: ${_PKG_SILENT}${_PKG_DEBUG}${LOCALBASE}/bin/pkglint |