From 3e0bbdf9997e4dc8e5b3d9f2a085f050d73c8ceb Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 10 Aug 2013 06:03:37 +0000 Subject: reduce dependencies, to avoid unwanted binary package regeneration. * ${_BUILD_INFO_FILE} only depends on ${_PLIST_NOKEYWORDS}, not plist target. * plist target is not required to create +CONTENTS --- mk/pkgformat/pkg/metadata.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mk/pkgformat/pkg/metadata.mk b/mk/pkgformat/pkg/metadata.mk index 76e014757b0..30e91a58c99 100644 --- a/mk/pkgformat/pkg/metadata.mk +++ b/mk/pkgformat/pkg/metadata.mk @@ -1,4 +1,4 @@ -# $NetBSD: metadata.mk,v 1.6 2013/07/13 09:10:35 obache Exp $ +# $NetBSD: metadata.mk,v 1.7 2013/08/10 06:03:37 obache Exp $ ###################################################################### ### The targets below are all PRIVATE. @@ -24,7 +24,7 @@ _BUILD_DATE_cmd= ${DATE} "+%Y-%m-%d %H:%M:%S %z" _BUILD_HOST_cmd= ${UNAME} -a _METADATA_TARGETS+= ${_BUILD_INFO_FILE} -${_BUILD_INFO_FILE}: plist +${_BUILD_INFO_FILE}: ${_PLIST_NOKEYWORDS} ${RUN}${MKDIR} ${.TARGET:H} ${RUN}${RM} -f ${.TARGET}.tmp ${RUN} (${_BUILD_DEFS:NPATH:@v@${ECHO} ${v}=${${v}:Q} ;@}) \ @@ -386,7 +386,6 @@ _CONTENTS_TARGETS+= ${_DEPENDS_FILE} _CONTENTS_TARGETS+= ${_DESCR_FILE} _CONTENTS_TARGETS+= ${_MESSAGE_FILE} _CONTENTS_TARGETS+= ${_DEPENDS_PLIST} -_CONTENTS_TARGETS+= plist _CONTENTS_TARGETS+= ${_PRESERVE_FILE} _CONTENTS_TARGETS+= ${_SIZE_ALL_FILE} _CONTENTS_TARGETS+= ${_SIZE_PKG_FILE} -- cgit v1.2.3