summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-07-29 10:15:11 +0100
committerPhil Jones <philj56@gmail.com>2022-07-29 14:32:30 +0100
commitdaad1ccf92caf32becd48d295438524e35affb55 (patch)
tree6621f74402e0b1af973672e85a4026543e421fda /meson.build
parent71fcc39202c7731007da8f345dc9f69b856b376d (diff)
Add default config installation in /etc/xdg/tofi/.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build11
1 files changed, 8 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 4554a99..8776e76 100644
--- a/meson.build
+++ b/meson.build
@@ -20,12 +20,17 @@ if debug
add_project_arguments('-DDEBUG', language : 'c')
endif
-data_location = join_paths(
- get_option('prefix'),
- get_option('datadir'),
+config_location = join_paths(
+ get_option('sysconfdir'),
+ 'xdg',
'tofi'
)
+install_data(
+ 'doc/config',
+ install_dir: config_location
+)
+
completion_location = join_paths(
get_option('prefix'),
get_option('datadir'),