Commit 253948b8 authored by Eric Anholt's avatar Eric Anholt

Simplify manpage variable substitution for Meson.

The previous code was contorting itself to do the substitution in the
same source format as the xorg automake macros.  Now that automake is
gone, we can simplify it.
Signed-off-by: Eric Anholt's avatarEric Anholt <>
Reviewed-by: Daniel Stone's avatarDaniel Stone <>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <>
parent ad7d25fb
.ds q \N'34'
.TH rendercheck 1 __xorgversion__
.TH rendercheck 1 "rendercheck @version@" "X Version 11"
rendercheck \- simple tests of the X Render extension.
......@@ -48,19 +48,12 @@ executable(
install: true,
man_xorgversion = '"rendercheck @0@" "X Version 11"'.format(project_version)
man_config = configuration_data()
man_config.set('version', project_version)
rendercheck_man = configure_file(
input: 'man/',
output: 'rendercheck.1',
command: [
capture: true,
configuration: man_config,
install: true,
install_dir: join_paths(get_option('mandir'), 'man1'),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment