summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-07-31 14:20:34 +0100
committerPhil Jones <philj56@gmail.com>2022-07-31 14:20:34 +0100
commitf56e31e1d243a6fba39ea64d96e6adeb2584cc38 (patch)
treec85b87a3476d7014c23ed98dfa7d6e42c1353db3 /meson.build
parent9eafa5884fb8cad11732860c6de06ac13921c40e (diff)
Add license installation.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 2bd56a6..d8823fc 100644
--- a/meson.build
+++ b/meson.build
@@ -31,6 +31,17 @@ install_data(
install_dir: config_location
)
+license_dir = join_paths(
+ get_option('datadir'),
+ 'licenses',
+ 'tofi'
+)
+
+install_data(
+ 'LICENSE',
+ install_dir: license_dir
+)
+
completion_location = join_paths(
get_option('prefix'),
get_option('datadir'),