mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
mpd: Build and install docs and split outputs
This commit is contained in:
parent
69aa4f3792
commit
08bdd8bc43
@ -19,6 +19,9 @@
|
||||
# Tag support
|
||||
, libid3tag
|
||||
, nixosTests
|
||||
# For documentation
|
||||
, doxygen
|
||||
, python3Packages # for sphinx-build
|
||||
# For tests
|
||||
, gtest
|
||||
, fetchpatch # used to fetch an upstream patch fixing a failing test
|
||||
@ -146,6 +149,8 @@ let
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
python3Packages.sphinx
|
||||
doxygen
|
||||
];
|
||||
|
||||
# Otherwise, the meson log says:
|
||||
@ -159,7 +164,12 @@ let
|
||||
|
||||
mesonAutoFeatures = "disabled";
|
||||
|
||||
outputs = [ "out" "doc" "man" ];
|
||||
|
||||
mesonFlags = [
|
||||
# Documentation is enabled unconditionally but it's not installed
|
||||
# unconditionally thanks to the outputs being split
|
||||
"-Ddocumentation=true"
|
||||
"-Dtest=true"
|
||||
]
|
||||
++ map (x: "-D${x}=enabled") features_
|
||||
|
Loading…
Reference in New Issue
Block a user