[oe-commits] [openembedded-core] 27/39: dmidecode: correct docdir
git at git.openembedded.org
git at git.openembedded.org
Wed Jun 27 12:56:14 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit af4f0d44acef328245dfe1bd102bb5e61293ee2d
Author: Christopher Larson <chris_larson at mentor.com>
AuthorDate: Fri Jun 22 02:07:35 2018 +0500
dmidecode: correct docdir
Without this, the package clutters up the root of /usr/share/doc.
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/dmidecode/dmidecode_3.1.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb b/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb
index f83281e..b423fda 100644
--- a/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb
+++ b/meta/recipes-devtools/dmidecode/dmidecode_3.1.bb
@@ -9,6 +9,10 @@ COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|powerpc|powerpc64).*-linux"
EXTRA_OEMAKE = "-e MAKEFLAGS="
+# The upstream buildsystem uses 'docdir' as the path where it puts AUTHORS,
+# README, etc, but we don't want those in the root of our docdir.
+docdir .= "/${BPN}"
+
do_install() {
oe_runmake DESTDIR="${D}" install
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list