nftables: Fix documentation generation

Switch PACKAGECONFIG from man to manpages so we are included when
api-documentation is set. Ensure correct tools are available to build
the documentation and avoid unsupported option failures by not passing
`--enable-man-doc`.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alex Kiernan 2019-12-02 19:32:16 +00:00 committed by Khem Raj
parent 92eb9b321b
commit ab86dcdc90

View File

@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "5cb66180143e6bfc774f4eb316206d40ac1cb6df269a90882404cbf716
inherit autotools manpages pkgconfig
PACKAGECONFIG ?= "python"
PACKAGECONFIG[man] = "--enable--man-doc, --disable-man-doc"
PACKAGECONFIG[manpages] = ", --disable-man-doc, asciidoc-native"
PACKAGECONFIG[python] = "--with-python-bin=${PYTHON}, --with-python-bin="", python3"
inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)}