diff options
Diffstat (limited to 'man/meson.build')
-rw-r--r-- | man/meson.build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/man/meson.build b/man/meson.build index 003e9be..4732cbc 100644 --- a/man/meson.build +++ b/man/meson.build @@ -11,12 +11,13 @@ foreach man : ['Xau', 'XauDisposeAuth', 'XauFileName', 'XauGetAuthByAddr', input : f'@man@.man', output : f'@man@.3', command : [ - prog_sed, '@INPUT@', + prog_sed, '-e', 's/__xorgversion__/"libXau @0@" "X Version 11"/'.format(meson.project_version()), '-e', 's/__libmansuffix__/3/', + '@INPUT@', ], capture : true, install : true, install_dir : get_option('prefix') / get_option('mandir') / 'man3', ) -endforeach
\ No newline at end of file +endforeach |