diff options
author | Kai Kang <kai.kang@windriver.com> | 2015-07-03 15:23:49 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-07 23:57:13 +0100 |
commit | 2cff20f423fb9e82b44c68504be605c223bd74fb (patch) | |
tree | 55e1b55ade7ed41488b812e331faa8cec3781626 /meta/recipes-extended/procps/procps_3.3.10.bb | |
parent | b493467d77081becfc419dff817d28a171736924 (diff) | |
download | openembedded-core-2cff20f423fb9e82b44c68504be605c223bd74fb.tar.gz openembedded-core-2cff20f423fb9e82b44c68504be605c223bd74fb.tar.bz2 openembedded-core-2cff20f423fb9e82b44c68504be605c223bd74fb.zip |
Update alternatives of man pages
Update alternatives of man pages in several packages.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/procps/procps_3.3.10.bb')
-rw-r--r-- | meta/recipes-extended/procps/procps_3.3.10.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/procps/procps_3.3.10.bb b/meta/recipes-extended/procps/procps_3.3.10.bb index 621b6dd578..65d64ec478 100644 --- a/meta/recipes-extended/procps/procps_3.3.10.bb +++ b/meta/recipes-extended/procps/procps_3.3.10.bb @@ -52,6 +52,10 @@ ALTERNATIVE_PRIORITY = "100" ALTERNATIVE_${PN} = "${bindir_progs} ${base_bindir_progs} ${base_sbindir_progs}" +ALTERNATIVE_${PN}-doc = "kill.1 uptime.1" +ALTERNATIVE_LINK_NAME[kill.1] = "${mandir}/man1/kill.1" +ALTERNATIVE_LINK_NAME[uptime.1] = "${mandir}/man1/uptime.1" + python __anonymous() { for prog in d.getVar('base_bindir_progs', True).split(): d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir', True), prog)) |