aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-10-18 11:48:05 +0200
committerAndreas Oberritter <obi@opendreambox.org>2017-02-16 11:29:20 +0100
commitc1946bbed90adc16d32eb77a581ebb28f0e57013 (patch)
tree3c70ae40db842720912cf237ad70ec2170318d3c
parent3cdefbcbbdd9e04991bb3b4a3c7b45fafc730b94 (diff)
downloadmeta-openembedded-contrib-c1946bbed90adc16d32eb77a581ebb28f0e57013.tar.gz
meta-openembedded-contrib-c1946bbed90adc16d32eb77a581ebb28f0e57013.tar.bz2
meta-openembedded-contrib-c1946bbed90adc16d32eb77a581ebb28f0e57013.zip
samba: install manpages
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta-networking/recipes-connectivity/samba/samba_4.4.5.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
index a2d708750e..e64c1d2d44 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
@@ -90,6 +90,15 @@ EXTRA_OECONF += "--enable-fhs \
LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
do_install_append() {
+ for section in 1 5 7; do
+ install -d ${D}${mandir}/man$section
+ install -m 0644 ctdb/doc/*.$section ${D}${mandir}/man$section
+ done
+ for section in 1 5 7 8; do
+ install -d ${D}${mandir}/man$section
+ install -m 0644 docs/manpages/*.$section ${D}${mandir}/man$section
+ done
+
install -d ${D}${systemd_system_unitdir}
install -m 0644 packaging/systemd/*.service ${D}${systemd_system_unitdir}
sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' ${D}${systemd_system_unitdir}/*.service