diff --git a/man/meson.build b/man/meson.build index d72b3cf96..635e47e46 100644 --- a/man/meson.build +++ b/man/meson.build @@ -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')