[2/2] iwd: install API documentation

Submitted by Ross Burton on Dec. 5, 2018, 12:51 p.m. | Patch ID: 156928

Details

Message ID 20181205125100.32765-2-ross.burton@intel.com
State Accepted
Commit c899bcf6645c29c28604400d397bc26d14f53635
Headers show

Commit Message

Ross Burton Dec. 5, 2018, 12:51 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta-oe/recipes-connectivity/iwd/iwd_0.12.bb | 5 +++++
 1 file changed, 5 insertions(+)

Patch hide | download patch | download mbox

diff --git a/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb b/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb
index 3caad20a40..16c537b66a 100644
--- a/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb
+++ b/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb
@@ -21,6 +21,11 @@  do_configure_prepend () {
     mkdir -p ${S}/build-aux
 }
 
+do_install_append() {
+    mkdir --parents ${D}${docdir}/${BPN}
+    install -m644 ${S}/doc/*.txt ${D}${docdir}/${BPN}
+}
+
 FILES_${PN} += "${datadir}/dbus-1"
 
 SYSTEMD_SERVICE_${PN} = "iwd.service ${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)}"