mpd: fix build without documentation feature
The man pages are only generated when the `documentation` feature is activated (sphinx is found). Otherwise no files are installed in `$man` and the output is not created.
This commit is contained in:
parent
6c40c0ace8
commit
40c9b2840b
|
@ -155,7 +155,8 @@ let
|
|||
|
||||
mesonAutoFeatures = "disabled";
|
||||
|
||||
outputs = [ "out" "doc" "man" ];
|
||||
outputs = [ "out" "doc" ]
|
||||
++ lib.optional (builtins.elem "documentation" features_) "man";
|
||||
|
||||
mesonFlags = [
|
||||
"-Dtest=true"
|
||||
|
|
Loading…
Reference in a new issue