build-sys: meson: do not install manpages for disabled parts

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/540>
This commit is contained in:
Igor V. Kovalenko 2021-04-19 20:02:19 +03:00 committed by PulseAudio Marge Bot
parent 424580a901
commit f760143c22

View file

@ -17,11 +17,21 @@ endif
manpages += [ manpages += [
['pacat', '1', ['paplay', 'parec', 'parecord', 'pamon']], ['pacat', '1', ['paplay', 'parec', 'parecord', 'pamon']],
['pactl', '1'], ['pactl', '1'],
['padsp', '1'],
['pax11publish', '1'],
['pulse-client.conf', '5'], ['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 # FIXME: Add esdcompat if HAVE_ESOUND
#manpages += ['esdcompat', '1'], #manpages += ['esdcompat', '1'],