install example config

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
Stephan Lachnit 2020-05-11 12:09:07 +02:00 committed by afayaz-feral
parent e1ae78e346
commit 43911a8919
2 changed files with 7 additions and 0 deletions

View File

@ -11,3 +11,9 @@ executable(
install: true,
install_dir: path_bindir,
)
# An example configuration
install_data(
files('gamemode.ini'),
install_dir: path_sysconfdir,
)

View File

@ -77,6 +77,7 @@ path_datadir = join_paths(path_prefix, get_option('datadir'))
path_includedir = join_paths(path_prefix, get_option('includedir'))
path_libdir = join_paths(path_prefix, get_option('libdir'))
path_libexecdir = join_paths(path_prefix, get_option('libexecdir'))
path_sysconfdir = join_paths(path_prefix, get_option('sysconfdir'))
# Find systemd via pkgconfig
with_systemd = get_option('with-systemd')