man: Don't install man page for start-pulseaudio-x11 if X11 is disabled.

Fixes https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/444
This commit is contained in:
Arthur Taylor 2024-04-23 23:02:54 -07:00
parent 4e34ea65c2
commit 1c5007eb28

View file

@ -10,8 +10,13 @@ if get_option('daemon')
['pulse-cli-syntax', '5'],
['pulse-daemon.conf', '5'],
['pulseaudio', '1'],
['start-pulseaudio-x11', '1'],
]
if x11_dep.found()
manpages += [
['start-pulseaudio-x11', '1'],
]
endif
endif
if get_option('client')