diff options
author | kotontrion <[email protected]> | 2024-09-27 23:39:11 +0200 |
---|---|---|
committer | kotontrion <[email protected]> | 2024-09-27 23:39:11 +0200 |
commit | 27d8bbf871efeefe628819d78547dc2ec64abf94 (patch) | |
tree | eaa2946a5311674a41493e5f8c6ca82b489f961e /core | |
parent | 6916d59373948c8bc23cbb198795fe4608a73ba3 (diff) |
core: move vapi dir to src
Diffstat (limited to 'core')
-rw-r--r-- | core/meson.build | 3 | ||||
-rw-r--r-- | core/src/meson.build | 3 | ||||
-rw-r--r-- | core/src/vapi/AstalInhibitManager.vapi (renamed from core/vapi/AstalInhibitManager.vapi) | 0 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/meson.build b/core/meson.build index f25b5a0..a2606db 100644 --- a/core/meson.build +++ b/core/meson.build @@ -15,9 +15,6 @@ prefix = get_option('prefix') libdir = get_option('prefix') / get_option('libdir') pkgdatadir = prefix / get_option('datadir') / 'astal' -vapi_dir = meson.current_source_dir() / 'vapi' -add_project_arguments(['--vapidir', vapi_dir], language: 'vala') - assert( get_option('lib') or get_option('cli'), 'Either lib or cli option must be set to true.', diff --git a/core/src/meson.build b/core/src/meson.build index 11839f1..b5adda2 100644 --- a/core/src/meson.build +++ b/core/src/meson.build @@ -3,6 +3,9 @@ api_version = version_split[0] + '.' + version_split[1] gir = 'Astal-' + api_version + '.gir' typelib = 'Astal-' + api_version + '.typelib' +vapi_dir = meson.current_source_dir() / 'vapi' +add_project_arguments(['--vapidir', vapi_dir], language: 'vala') + config = configure_file( input: 'config.vala.in', output: 'config.vala', diff --git a/core/vapi/AstalInhibitManager.vapi b/core/src/vapi/AstalInhibitManager.vapi index 6232a3c..6232a3c 100644 --- a/core/vapi/AstalInhibitManager.vapi +++ b/core/src/vapi/AstalInhibitManager.vapi |