summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2018-06-07 02:02:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-15 11:09:40 +0100
commit72e5e124e565c5a72771c7325a783011aedcab96 (patch)
treec53f0c9c8306d244478ed32b18947907ef9f6b75
parent078900f2416202b677471b10b69c8defb0f14c8d (diff)
downloadopenembedded-core-contrib-72e5e124e565c5a72771c7325a783011aedcab96.tar.gz
man-pages: inherit manpages
Inherit manpages to update manual file index caches after installation for man-pages. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-extended/man-pages/man-pages_4.14.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-extended/man-pages/man-pages_4.14.bb b/meta/recipes-extended/man-pages/man-pages_4.14.bb
index f8bd090d19..4ce0b13ce8 100644
--- a/meta/recipes-extended/man-pages/man-pages_4.14.bb
+++ b/meta/recipes-extended/man-pages/man-pages_4.14.bb
@@ -10,7 +10,13 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/Archive/${BP}.tar.gz"
SRC_URI[md5sum] = "82bd2d05c4d0dba5e7a90d39c9555197"
SRC_URI[sha256sum] = "aeebc6b09a11e7f7bbc98f3984fe8b8b2bde9d2f5f9dcbd4348a9e0d93704238"
-RDEPENDS_${PN} = "man"
+inherit manpages
+
+MAN_PKG = "${PN}"
+
+# help manpages.bbclass deal with RDEPNDS and postinstall scripts
+PACKAGECONFIG = "manpages"
+PACKAGECONFIG[manpages] = ""
do_configure[noexec] = "1"
do_compile[noexec] = "1"