From 43911a8919f0d41bf79c3aa7dcf233f333660585 Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Mon, 11 May 2020 12:09:07 +0200 Subject: [PATCH] install example config Signed-off-by: Stephan Lachnit --- example/meson.build | 6 ++++++ meson.build | 1 + 2 files changed, 7 insertions(+) diff --git a/example/meson.build b/example/meson.build index 328e8bd..02a7422 100644 --- a/example/meson.build +++ b/example/meson.build @@ -11,3 +11,9 @@ executable( install: true, install_dir: path_bindir, ) + +# An example configuration +install_data( + files('gamemode.ini'), + install_dir: path_sysconfdir, +) diff --git a/meson.build b/meson.build index a4fe817..370c4d9 100644 --- a/meson.build +++ b/meson.build @@ -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')