Xserver.man: allow line breaks in default font path

Allows nroff to insert a line break between iterm in the font path
instead of displaying it as a single, very overlength line.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1891>
This commit is contained in:
Alan Coopersmith 2025-04-05 15:41:15 -07:00 committed by Marge Bot
parent cab9017485
commit b9c31cc9bc

View File

@ -27,7 +27,8 @@ manpage_config.set('modulepath', module_dir)
# wtf doesn't this work # wtf doesn't this work
# manpage_config.set('suid_wrapper_dir', join_paths(get_option('prefix'), libexecdir)) # manpage_config.set('suid_wrapper_dir', join_paths(get_option('prefix'), libexecdir))
manpage_config.set('suid_wrapper_dir', join_paths(get_option('prefix'), 'libexec')) manpage_config.set('suid_wrapper_dir', join_paths(get_option('prefix'), 'libexec'))
manpage_config.set('default_font_path', default_font_path) # \: allows nroff to insert a line break at that position
manpage_config.set('default_font_path', default_font_path.replace(',', ',\\:'))
install_man(configure_file( install_man(configure_file(
input: 'Xserver.man', input: 'Xserver.man',