diff options
author | Thierry LARONDE <tlaronde@kergis.com> | 2024-02-01 20:42:02 +0100 |
---|---|---|
committer | Thierry LARONDE <tlaronde@kergis.com> | 2024-02-01 20:42:02 +0100 |
commit | a5d1f88c3a74a099030ffbbb30ad3fd361fdd1af (patch) | |
tree | d4a78e54409b13ca96c446cab6e10c1738ca3ca8 /man | |
parent | 4866e00d737a1ece81c519ea867cfe16a0ae36b4 (diff) |
Allow to use POSIX.2 compliant sed(1)
POSIX.2 sed(1) doesn't allow file to be anywhere else than, if given,
last. Allow to use whatever compliant sed(1) is there, not only GNU
sed(1).
Diffstat (limited to 'man')
-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 |