diff options
-rw-r--r-- | mk/plist/plist.mk | 7 | ||||
-rw-r--r-- | mk/plist/print-plist.mk | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/mk/plist/plist.mk b/mk/plist/plist.mk index 6fbe6ba7852..d5a906248f2 100644 --- a/mk/plist/plist.mk +++ b/mk/plist/plist.mk @@ -1,4 +1,4 @@ -# $NetBSD: plist.mk,v 1.54 2020/03/30 22:54:24 rillig Exp $ +# $NetBSD: plist.mk,v 1.55 2020/06/10 16:06:09 leot Exp $ # # This Makefile fragment handles the creation of PLISTs for use by # pkg_create(8). @@ -147,8 +147,9 @@ _PLIST_AWK_ENV+= ${PLIST_AWK_ENV} # with the package version excluding the "nb13" extension. # # The other direction of generating the package's PLIST file from the list -# of actually installed files is covered by PRINT_PLIST_AWK. This is only -# needed when developing the package itself, for example after an update. +# of actually installed files is covered by EARLY_PRINT_PLIST_AWK and +# PRINT_PLIST_AWK. This is only needed when developing the package itself, +# for example after an update. # PLIST_SUBST+= OPSYS=${OPSYS:Q} \ OS_VERSION=${OS_VERSION:Q} \ diff --git a/mk/plist/print-plist.mk b/mk/plist/print-plist.mk index 6ed479562bb..8346f477d2f 100644 --- a/mk/plist/print-plist.mk +++ b/mk/plist/print-plist.mk @@ -1,4 +1,4 @@ -# $NetBSD: print-plist.mk,v 1.35 2020/04/18 10:54:21 rillig Exp $ +# $NetBSD: print-plist.mk,v 1.36 2020/06/10 16:06:09 leot Exp $ # # Automatic PLIST generation # - files & symlinks first @@ -94,6 +94,9 @@ print-PLIST: *) genlinks=0 ;; \ esac; \ ${_PRINT_PLIST_FILES_CMD} \ + | ${AWK} ' \ + ${EARLY_PRINT_PLIST_AWK} \ + { print $$0; }' \ | ${_PRINT_PLIST_LIBTOOLIZE_FILTER} \ | ${SORT} \ | ${AWK} ' \ @@ -124,6 +127,9 @@ print-PLIST: { print $$0; }' ${RUN}\ for i in `${_PRINT_PLIST_DIRS_CMD} \ + | ${AWK} ' \ + ${EARLY_PRINT_PLIST_AWK} \ + { print $$0; }' \ | ${SORT} -r \ | ${AWK} ' \ /emul\/linux\/proc/ { next; } \ |