Skip to contentSkip to conversation

python3-xmodem: Move docs to /usr/share/doc

PATCH New Khem Raj 1 participant 1 message Mar 1, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 python3-xmodem: Move docs to /usr/share/doc

---
 .../recipes-devtools/python/python3-xmodem_0.4.6.bb        | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-xmodem_0.4.6.bb +6 -1
index 9d722b84f6..6df392e2d6 100644
@@ -7,8 +7,13 @@ SRC_URI[sha256sum] = "089737298f5738eabc43f2519efdc80b402693768f16383f7013b9e6f8
 
 inherit pypi setuptools3
 
+do_install:append() {
+    install -d ${D}${docdir}/${PN}
+    mv ${D}/usr/doc/* ${D}${docdir}/${PN}/
+    rmdir ${D}/usr/doc
+}
+
 RDEPENDS:${PN} += " \
     ${PYTHON_PN}-logging \
 "
-
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.35.1