[oe-commits] Christopher Larson : python-dbus: use PACKAGECONFIG for doc generation
git at git.openembedded.org
git at git.openembedded.org
Thu Aug 14 15:54:24 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 7216ddad59f6a2315323befa69eebdbf07625e25
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7216ddad59f6a2315323befa69eebdbf07625e25
Author: Christopher Larson <chris_larson at mentor.com>
Date: Mon Aug 11 09:15:36 2014 -0700
python-dbus: use PACKAGECONFIG for doc generation
Adds 'docs' (for html doc generation) and 'api-docs' (for API doc generation)
configurations and leaves them both disabled by default. This avoids
autodetected dependency upon docutils.
Fixes [YOCTO #6530]
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/python/python-dbus_1.2.0.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/python/python-dbus_1.2.0.bb b/meta/recipes-devtools/python/python-dbus_1.2.0.bb
index e64f99f..b314dce 100644
--- a/meta/recipes-devtools/python/python-dbus_1.2.0.bb
+++ b/meta/recipes-devtools/python/python-dbus_1.2.0.bb
@@ -14,6 +14,10 @@ S = "${WORKDIR}/dbus-python-${PV}"
inherit distutils-base autotools pkgconfig
+PACKAGECONFIG ?= ""
+PACKAGECONFIG[docs] = "--enable-html-docs,--disable-html-docs,python-docutils-native"
+PACKAGECONFIG[api-docs] = "--enable-api-docs,--disable-api-docs,python-docutils-native python-epydoc-native"
+
export BUILD_SYS
export HOST_SYS
More information about the Openembedded-commits
mailing list