Skip to contentSkip to conversation

nftables: Fix documentation generation

PATCH New Alex Kiernan 1 participant 1 message Dec 2, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

 meta-networking/recipes-filter/nftables/nftables_0.9.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-filter/nftables/nftables_0.9.2.bb +1 -1
index 98e8050b814c..0c57e7255eaf 100644
@@ -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)}
Signature · 1 line
2.17.1