mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
fe5b333e1a
commit
4e3e0df0eb
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user