From 67984d6b5559984638b0b3704fddb8b3b6d8f3bb Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 25 Aug 2003 20:51:43 +0000 Subject: Ignore texinfo "dir" files in ${INFO_DIR} (hi, seb!). Also record the value of _PLIST_IGNORE_FILES in the BUILD_INFO file so that pkg_view(1) can use it to ignore the same set of files. --- mk/bsd.pkg.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mk/bsd.pkg.mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 2dc5748d5ee..88f92cd6af3 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1216.2.32 2003/08/25 19:37:45 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1216.2.33 2003/08/25 20:51:43 jlam Exp $ # # This file is in the public domain. # @@ -199,9 +199,13 @@ _PKG_DBDIR= ${DEPOTBASE} # _PLIST_IGNORE_FILES= +* # package metadata files _PLIST_IGNORE_FILES+= info/dir -_PLIST_IGNORE_FILES+= *[~#] *.OLD *.orig *,v # scratch config files +.if defined(INFO_DIR) && empty(INFO_DIR:Minfo) +_PLIST_IGNORE_FILES+= ${INFO_DIR}/dir +.endif +_PLIST_IGNORE_FILES+= *[~\#] *.OLD *.orig *,v # scratch config files _PLIST_IGNORE_FILES+= ${PLIST_IGNORE_FILES} .endif +BUILD_DEFS+= _PLIST_IGNORE_FILES # We need to make sure the buildlink-x11 package is not installed since it # breaks builds that use imake. -- cgit v1.2.3