kea: build documentation and manpages

Very easily due to the comforts of the sphinx hook <3
This commit is contained in:
Martin Weinelt 2022-10-13 05:17:52 +02:00
parent 707f2016aa
commit d2d5d5b22e
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -35,6 +35,12 @@ stdenv.mkDerivation rec {
substituteInPlace ./src/bin/keactrl/Makefile.am --replace '@sysconfdir@' "$out/etc"
'';
outputs = [
"out"
"doc"
"man"
];
configureFlags = [
"--enable-perfdhcp"
"--enable-shell"
@ -47,7 +53,16 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
autoreconfHook
pkg-config
] ++ (with python3.pkgs; [
sphinxHook
sphinx-rtd-theme
]);
sphinxBuilders = [
"html"
"man"
];
sphinxRoot = "doc/sphinx";
buildInputs = [
boost