diff options
author | Christopher Larson <chris_larson@mentor.com> | 2014-08-11 09:15:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-11 17:43:44 +0100 |
commit | 4e3e0df0eb62f73859a7edfbc18e641cbbec036b (patch) | |
tree | 9b106383fe6fd8a7cc1b81452b193fc81baa7fd4 /meta/recipes-devtools/python/python-dbus_1.2.0.bb | |
parent | fe5b333e1a82174287bea0ef6a6620bf9eb69e46 (diff) | |
download | poky-4e3e0df0eb62f73859a7edfbc18e641cbbec036b.tar.gz |
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]
(From OE-Core rev: 7216ddad59f6a2315323befa69eebdbf07625e25)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-dbus_1.2.0.bb')
-rw-r--r-- | meta/recipes-devtools/python/python-dbus_1.2.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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 e64f99f87a..b314dce1c7 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}" | |||
14 | 14 | ||
15 | inherit distutils-base autotools pkgconfig | 15 | inherit distutils-base autotools pkgconfig |
16 | 16 | ||
17 | PACKAGECONFIG ?= "" | ||
18 | PACKAGECONFIG[docs] = "--enable-html-docs,--disable-html-docs,python-docutils-native" | ||
19 | PACKAGECONFIG[api-docs] = "--enable-api-docs,--disable-api-docs,python-docutils-native python-epydoc-native" | ||
20 | |||
17 | export BUILD_SYS | 21 | export BUILD_SYS |
18 | export HOST_SYS | 22 | export HOST_SYS |
19 | 23 | ||