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:
Fabian Möller 2020-10-22 12:55:25 +02:00
parent 6c40c0ace8
commit 40c9b2840b
No known key found for this signature in database
GPG Key ID: 70B29D65DD8A7E31

View File

@ -155,7 +155,8 @@ let
mesonAutoFeatures = "disabled";
outputs = [ "out" "doc" "man" ];
outputs = [ "out" "doc" ]
++ lib.optional (builtins.elem "documentation" features_) "man";
mesonFlags = [
"-Dtest=true"