diff options
author | obache <obache@pkgsrc.org> | 2013-08-10 06:03:37 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-08-10 06:03:37 +0000 |
commit | 3e0bbdf9997e4dc8e5b3d9f2a085f050d73c8ceb (patch) | |
tree | 1b73eef131266af8b2dff3414b8a3ad105ef22cf | |
parent | c24ef4f2dc6799d2ce60cb5020dc491d2ccfd2c9 (diff) | |
download | pkgsrc-3e0bbdf9997e4dc8e5b3d9f2a085f050d73c8ceb.tar.gz |
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
-rw-r--r-- | mk/pkgformat/pkg/metadata.mk | 5 |
1 files 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} |