meson: Install man pages
Signed-off-by: Adam Jackson <ajax@redhat.com> Acked-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
1e0df64738
commit
a1e8dc0516
|
@ -28,7 +28,30 @@ subdir('input')
|
|||
subdir('examples')
|
||||
# XXX: subdir('doc')
|
||||
# XXX: subdir('doxygen')
|
||||
# XXX: subdir('man')
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/Xdmx.man',
|
||||
output: 'Xdmx.1',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'config/man/dmxtodmx.man',
|
||||
output: 'dmxtodmx.1',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'config/man/vdltodmx.man',
|
||||
output: 'vdltodmx.1',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'config/man/xdmxconfig.man',
|
||||
output: 'xdmxconfig.1',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
dmx_dep = [
|
||||
common_dep,
|
||||
|
|
|
@ -61,3 +61,10 @@ executable(
|
|||
],
|
||||
install: true,
|
||||
)
|
||||
|
||||
xephyr_man = configure_file(
|
||||
input: 'man/Xephyr.man',
|
||||
output: 'Xephyr.1',
|
||||
configuration: manpage_config,
|
||||
)
|
||||
install_man(xephyr_man)
|
||||
|
|
|
@ -20,3 +20,9 @@ xvfb_server = executable(
|
|||
],
|
||||
install: true,
|
||||
)
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/Xvfb.man',
|
||||
output: 'Xvfb.1',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
|
|
@ -36,6 +36,12 @@ if gbm_dep.found()
|
|||
endif
|
||||
symbol_test_args += join_paths(xorg_build_root, 'drivers', 'modesetting', 'modesetting_drv.so')
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'modesetting.man',
|
||||
output: 'modesetting.4',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
test('modesetting symbol test',
|
||||
xorg_symbol_test,
|
||||
args: symbol_test_args,
|
||||
|
|
|
@ -7,3 +7,9 @@ xorg_exa = shared_module('exa',
|
|||
install: true,
|
||||
install_dir: module_dir,
|
||||
)
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/exa.man',
|
||||
output: 'exa.4',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
|
|
@ -15,3 +15,9 @@ shared_module('fbdevhw',
|
|||
)
|
||||
|
||||
install_data('fbdevhw.h', install_dir: xorgsdkdir)
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/fbdevhw.man',
|
||||
output: 'fbdevhw.4',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
|
|
@ -166,3 +166,45 @@ xorgserver_lib = shared_library(
|
|||
)
|
||||
|
||||
xorgserver_dep = declare_dependency(link_with: xorgserver_lib)
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/Xorg.man',
|
||||
output: 'Xorg.1',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/Xorg.wrap.man',
|
||||
output: 'Xorg.wrap.1',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/Xwrapper.config.man',
|
||||
output: 'Xwrapper.config.5',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/xorg.conf.man',
|
||||
output: 'xorg.conf.5',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/xorg.conf.d.man',
|
||||
output: 'xorg.conf.d.5',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'utils/man/cvt.man',
|
||||
output: 'cvt.1',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'utils/man/gtf.man',
|
||||
output: 'gtf.1',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
|
|
@ -35,3 +35,9 @@ executable(
|
|||
c_args: '-DHAVE_XNEST_CONFIG_H',
|
||||
install: true,
|
||||
)
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/Xnest.man',
|
||||
output: 'Xnest.1',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
|
|
@ -165,3 +165,10 @@ install_data(
|
|||
'system.XWinrc',
|
||||
install_dir: join_paths(get_option('sysconfdir'), 'X11')
|
||||
)
|
||||
|
||||
xwin_man = configure_file(
|
||||
input: 'man/XWin.man',
|
||||
output: 'XWin.1',
|
||||
configuration: manpage_config,
|
||||
)
|
||||
install_man(xwin_man)
|
||||
|
|
37
meson.build
37
meson.build
|
@ -464,6 +464,37 @@ top_srcdir_inc = include_directories('.')
|
|||
|
||||
serverconfigdir = join_paths(get_option('libdir'), 'xorg')
|
||||
|
||||
manpage_config = configuration_data()
|
||||
manpage_config.set('vendorversion', 'PACKAGE_STRING XORG_MAN_PAGE')
|
||||
manpage_config.set('xorgversion', 'PACKAGE_STRING XORG_MAN_PAGE')
|
||||
manpage_config.set('xservername', 'Xorg')
|
||||
manpage_config.set('xconfigfile', 'xorg.conf')
|
||||
manpage_config.set('projectroot', get_option('prefix'))
|
||||
manpage_config.set('apploaddir', '$(appdefaultdir)')
|
||||
manpage_config.set('appmansuffix', '1')
|
||||
manpage_config.set('drivermansuffix', '4')
|
||||
manpage_config.set('adminmansuffix', '8')
|
||||
manpage_config.set('libmansuffix', '3')
|
||||
manpage_config.set('miscmansuffix', '7')
|
||||
manpage_config.set('filemansuffix', '5')
|
||||
manpage_config.set('logdir', log_dir)
|
||||
manpage_config.set('datadir', get_option('datadir'))
|
||||
manpage_config.set('mandir', get_option('mandir'))
|
||||
manpage_config.set('sysconfdir', get_option('sysconfdir'))
|
||||
manpage_config.set('xconfigdir', 'xorg.conf.d')
|
||||
manpage_config.set('xkbdir', xkb_dir)
|
||||
manpage_config.set('XKB_DFLT_RULES', get_option('xkb_default_rules'))
|
||||
manpage_config.set('XKB_DFLT_MODEL', get_option('xkb_default_model'))
|
||||
manpage_config.set('XKB_DFLT_LAYOUT', get_option('xkb_default_layout'))
|
||||
manpage_config.set('XKB_DFLT_VARIANT', get_option('xkb_default_variant'))
|
||||
manpage_config.set('XKB_DFLT_OPTIONS', get_option('xkb_default_options'))
|
||||
manpage_config.set('bundle_id_prefix', '...')
|
||||
manpage_config.set('modulepath', join_paths(get_option('prefix'), module_dir))
|
||||
# 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'), 'libexec'))
|
||||
manpage_config.set('default_font_path', 'catalogue:/etc/X11/fontpath.d:built-ins')
|
||||
|
||||
# Include must come first, as it sets up dix-config.h
|
||||
subdir('include')
|
||||
|
||||
|
@ -527,3 +558,9 @@ libxserver += libxserver_dri3
|
|||
|
||||
subdir('hw')
|
||||
subdir('test')
|
||||
|
||||
install_man(configure_file(
|
||||
input: 'man/Xserver.man',
|
||||
output: 'Xserver.1',
|
||||
configuration: manpage_config,
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue