diff options
author | Igor V. Kovalenko <igor.v.kovalenko@gmail.com> | 2021-04-19 20:02:19 +0300 |
---|---|---|
committer | PulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org> | 2021-04-19 18:48:59 +0000 |
commit | f760143c2238cc6d0efbc76ab64786d7bf481645 (patch) | |
tree | 64fe186596eee119e1a1682c3d08443ce16ecbf9 | |
parent | 424580a9016419be64837747c0ab2061e5252a18 (diff) |
build-sys: meson: do not install manpages for disabled parts
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/540>
-rw-r--r-- | man/meson.build | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/man/meson.build b/man/meson.build index 3f79890f9..31c581a8f 100644 --- a/man/meson.build +++ b/man/meson.build @@ -17,11 +17,21 @@ endif manpages += [ ['pacat', '1', ['paplay', 'parec', 'parecord', 'pamon']], ['pactl', '1'], - ['padsp', '1'], - ['pax11publish', '1'], ['pulse-client.conf', '5'], ] +if cdata.has('HAVE_OSS_WRAPPER') + manpages += [ + ['padsp', '1'], + ] +endif + +if x11_dep.found() + manpages += [ + ['pax11publish', '1'], + ] +endif + # FIXME: Add esdcompat if HAVE_ESOUND #manpages += ['esdcompat', '1'], |