summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index e5be5e2..4020a81 100644
--- a/meson.build
+++ b/meson.build
@@ -11,6 +11,10 @@ project(
],
)
+prefix = get_option('prefix')
+libdir = get_option('prefix') / get_option('libdir')
+pkgdatadir = prefix / get_option('datadir') / 'astal'
+
# math
add_project_arguments(['-X', '-lm'], language: 'vala')
@@ -19,4 +23,8 @@ assert(
'Either lib or cli option must be set to true.',
)
+if get_option('gjs')
+ install_subdir('gjs', install_dir: pkgdatadir)
+endif
+
subdir('src')