Browse Source

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>
Alex Kiernan 4 years ago
parent
commit
ab86dcdc90
1 changed files with 1 additions and 1 deletions
  1. 1 1
      meta-networking/recipes-filter/nftables/nftables_0.9.2.bb

+ 1 - 1
meta-networking/recipes-filter/nftables/nftables_0.9.2.bb

@@ -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)}