summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/man/man_1.6f.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-08-28 08:41:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-28 16:53:08 +0100
commita512e682026e3a9731df4d3147f9beff369f81e1 (patch)
treed3ca732690d1c23bd462e3f2390ccd11986138c1 /meta/recipes-extended/man/man_1.6f.bb
parentef789c1327d9548317ea5da10027f7e354ced939 (diff)
downloadpoky-a512e682026e3a9731df4d3147f9beff369f81e1.tar.gz
man: make man actually work by installing custom man.config
The default man.conf is named wrong and doesn't work. It references gtbl, while groff installs tbl and other things. This man.conf is imported from OE classic and runtime tested on angstrom. Before: root@beaglebone:~# man man sh: /usr/bin/gtbl: No such file or directory sh: line 0: echo: write error: Broken pipe gunzip: write: Broken pipe gunzip: error inflating sh: line 0: echo: write error: Broken pipe sh: line 0: echo: write error: Broken pipe After: root@beaglebone:~# man man MAN(1) Manual pager utils MAN(1) NAME man - an interface to the on-line reference manuals SYNOPSIS man [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-m system[,...]] [-M path] [-S list] [-e extension] [-i|-I] [--regex|--wildcard] [--names-only] [-a] [-u] [--no-subpages] [-P pager] [-r prompt] [-7] [-E encoding] [--no-hyphenation] [--no-justifi- cation] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] [[section] page ...] ... man -k [apropos options] regexp ... man -K [-w|-W] [-S list] [-i|-I] [--regex] [section] term ... man -f [whatis options] page ... man -l [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-P pager] [-r prompt] [-7] [-E encoding] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] file ... man -w|-W [-C file] [-d] [-D] page ... man -c [-C file] [-d] [-D] page ... man [-hV] Check for config name: root@beaglebone:~# rm /etc/man.config root@beaglebone:~# man man Warning: cannot open configuration file /etc/man.config No manual entry for man As a bonus a bunch of references to the buildhost get removed from the config file. (From OE-Core rev: 13d82ecd6b25ff4c34b3639e10113d7ebb33dc88) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/man/man_1.6f.bb')
-rw-r--r--meta/recipes-extended/man/man_1.6f.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/man/man_1.6f.bb b/meta/recipes-extended/man/man_1.6f.bb
index b35621a65c..3a36a5bc35 100644
--- a/meta/recipes-extended/man/man_1.6f.bb
+++ b/meta/recipes-extended/man/man_1.6f.bb
@@ -5,7 +5,7 @@ HOMEPAGE = "http://primates.ximian.com/~flucifredi/man"
5LICENSE = "GPLv2" 5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" 6LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
7 7
8PR = "r3" 8PR = "r4"
9 9
10DEPENDS = "groff less" 10DEPENDS = "groff less"
11 11
@@ -54,7 +54,7 @@ do_install_append(){
54 mkdir -p ${D}/etc/ 54 mkdir -p ${D}/etc/
55 mkdir -p ${D}${datadir}/man/man5 55 mkdir -p ${D}${datadir}/man/man5
56 mkdir -p ${D}${datadir}/man/man7 56 mkdir -p ${D}${datadir}/man/man7
57 cp ${S}/src/man.conf ${D}/etc/ 57 cp ${WORKDIR}/man.conf ${D}/etc/man.config
58 cp ${WORKDIR}/man.1.gz ${D}${datadir}/man/man1/ 58 cp ${WORKDIR}/man.1.gz ${D}${datadir}/man/man1/
59 cp ${WORKDIR}/man.7.gz ${D}${datadir}/man/man7/ 59 cp ${WORKDIR}/man.7.gz ${D}${datadir}/man/man7/
60 cp ${WORKDIR}/manpath.5.gz ${D}${datadir}/man/man5/ 60 cp ${WORKDIR}/manpath.5.gz ${D}${datadir}/man/man5/
@@ -62,4 +62,4 @@ do_install_append(){
62 62
63 63
64RDEPENDS_${PN} = "less groff" 64RDEPENDS_${PN} = "less groff"
65FILES_${PN} += "${datadir}/locale ${sysconfdir}/man.conf" 65FILES_${PN} += "${datadir}/locale ${sysconfdir}/man.config"