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')