kea: build documentation and manpages
Very easily due to the comforts of the sphinx hook <3
This commit is contained in:
parent
707f2016aa
commit
d2d5d5b22e
1 changed files with 15 additions and 0 deletions
|
@ -35,6 +35,12 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace ./src/bin/keactrl/Makefile.am --replace '@sysconfdir@' "$out/etc"
|
substituteInPlace ./src/bin/keactrl/Makefile.am --replace '@sysconfdir@' "$out/etc"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
outputs = [
|
||||||
|
"out"
|
||||||
|
"doc"
|
||||||
|
"man"
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-perfdhcp"
|
"--enable-perfdhcp"
|
||||||
"--enable-shell"
|
"--enable-shell"
|
||||||
|
@ -47,7 +53,16 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
pkg-config
|
pkg-config
|
||||||
|
] ++ (with python3.pkgs; [
|
||||||
|
sphinxHook
|
||||||
|
sphinx-rtd-theme
|
||||||
|
]);
|
||||||
|
|
||||||
|
sphinxBuilders = [
|
||||||
|
"html"
|
||||||
|
"man"
|
||||||
];
|
];
|
||||||
|
sphinxRoot = "doc/sphinx";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost
|
boost
|
||||||
|
|
Loading…
Reference in a new issue