diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/classes/manpages.bbclass | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/manpages.bbclass')
-rw-r--r-- | meta/classes/manpages.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/manpages.bbclass b/meta/classes/manpages.bbclass index 1e66780646..3a96659460 100644 --- a/meta/classes/manpages.bbclass +++ b/meta/classes/manpages.bbclass | |||
@@ -2,7 +2,7 @@ | |||
2 | # depending on whether 'api-documentation' is in DISTRO_FEATURES. Such building | 2 | # depending on whether 'api-documentation' is in DISTRO_FEATURES. Such building |
3 | # tends to pull in the entire XML stack and other tools, so it's not enabled | 3 | # tends to pull in the entire XML stack and other tools, so it's not enabled |
4 | # by default. | 4 | # by default. |
5 | PACKAGECONFIG_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages', '', d)}" | 5 | PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages', '', d)}" |
6 | 6 | ||
7 | inherit qemu | 7 | inherit qemu |
8 | 8 | ||
@@ -10,9 +10,9 @@ inherit qemu | |||
10 | MAN_PKG ?= "${PN}-doc" | 10 | MAN_PKG ?= "${PN}-doc" |
11 | 11 | ||
12 | # only add man-db to RDEPENDS when manual files are built and installed | 12 | # only add man-db to RDEPENDS when manual files are built and installed |
13 | RDEPENDS_${MAN_PKG} += "${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'man-db', '', d)}" | 13 | RDEPENDS:${MAN_PKG} += "${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'man-db', '', d)}" |
14 | 14 | ||
15 | pkg_postinst_append_${MAN_PKG} () { | 15 | pkg_postinst:append_${MAN_PKG} () { |
16 | # only update manual page index caches when manual files are built and installed | 16 | # only update manual page index caches when manual files are built and installed |
17 | if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then | 17 | if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then |
18 | if test -n "$D"; then | 18 | if test -n "$D"; then |
@@ -36,7 +36,7 @@ pkg_postinst_append_${MAN_PKG} () { | |||
36 | fi | 36 | fi |
37 | } | 37 | } |
38 | 38 | ||
39 | pkg_postrm_append_${MAN_PKG} () { | 39 | pkg_postrm:append_${MAN_PKG} () { |
40 | # only update manual page index caches when manual files are built and installed | 40 | # only update manual page index caches when manual files are built and installed |
41 | if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then | 41 | if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then |
42 | mandb -q | 42 | mandb -q |