diff options
author | Aylur <[email protected]> | 2024-07-15 14:54:06 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-07-15 14:54:06 +0200 |
commit | 68b58c94094ebbb44e75be82ece77badaa0cd68f (patch) | |
tree | aa6179cd25fcaeceb7d94c16b9a9641e359ec16e /meson.build | |
parent | 1a3b14def2b72e03e3b336937113c6410cce0acd (diff) |
install gjs package to pkgdatadir
this is needed for ags v2 so that it can setup a ts environment similar
to the current --init flag
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 8 |
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') |