mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-07 05:38:30 +02:00
configure version in man pages
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:

committed by
afayaz-feral

parent
d47dea92de
commit
3d49f87308
@@ -2,6 +2,7 @@ data_conf = configuration_data()
|
||||
data_conf.set('BINDIR', path_bindir)
|
||||
data_conf.set('LIBEXECDIR', path_libexecdir)
|
||||
data_conf.set('GAMEMODE_PREFIX', path_prefix)
|
||||
data_conf.set('GAMEMODE_VERSION', meson.project_version())
|
||||
|
||||
# Set gamemoderun lib dir
|
||||
gamemoderun_lib_dir = get_option('with-gamemoderun-lib-dir')
|
||||
@@ -68,8 +69,14 @@ install_man(
|
||||
install_dir: mandir,
|
||||
)
|
||||
|
||||
gamemoderun_manpage = configure_file(
|
||||
input: files('gamemoderun.1.in'),
|
||||
output: 'gamemoderun.1',
|
||||
configuration: data_conf,
|
||||
)
|
||||
|
||||
install_man(
|
||||
files('gamemoderun.1'),
|
||||
gamemoderun_manpage,
|
||||
install_dir: mandir,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user