diff options
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/man-pages/man-pages_6.05.01.bb | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/meta/recipes-extended/man-pages/man-pages_6.05.01.bb b/meta/recipes-extended/man-pages/man-pages_6.05.01.bb index 2726eded8b..f0eb1a6132 100644 --- a/meta/recipes-extended/man-pages/man-pages_6.05.01.bb +++ b/meta/recipes-extended/man-pages/man-pages_6.05.01.bb | |||
@@ -30,17 +30,12 @@ do_compile[noexec] = "1" | |||
30 | 30 | ||
31 | do_install() { | 31 | do_install() { |
32 | oe_runmake install prefix=${prefix} DESTDIR=${D} | 32 | oe_runmake install prefix=${prefix} DESTDIR=${D} |
33 | rm -rf ${D}${mandir}/man3/crypt.3 | ||
34 | rm -rf ${D}${mandir}/man3/crypt_r.3 | ||
35 | rm -rf ${D}${mandir}/man3/getspnam.3 | ||
36 | rm -rf ${D}${mandir}/man5/passwd.5 | ||
33 | } | 37 | } |
34 | 38 | ||
35 | # Only deliveres man-pages so FILES:${PN} gets everything | 39 | # Only deliveres man-pages so FILES:${PN} gets everything |
36 | FILES:${PN}-doc = "" | 40 | FILES:${PN}-doc = "" |
37 | FILES:${PN} = "${mandir}/*" | 41 | FILES:${PN} = "${mandir}/*" |
38 | |||
39 | inherit update-alternatives | ||
40 | |||
41 | ALTERNATIVE_PRIORITY = "100" | ||
42 | ALTERNATIVE:${PN} = "crypt.3 crypt_r.3 getspnam.3 passwd.5" | ||
43 | ALTERNATIVE_LINK_NAME[crypt.3] = "${mandir}/man3/crypt.3" | ||
44 | ALTERNATIVE_LINK_NAME[crypt_r.3] = "${mandir}/man3/crypt_r.3" | ||
45 | ALTERNATIVE_LINK_NAME[getspnam.3] = "${mandir}/man3/getspnam.3" | ||
46 | ALTERNATIVE_LINK_NAME[passwd.5] = "${mandir}/man5/passwd.5" | ||