summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index cfca691..e9facb1 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
project('astal_auth',
'c',
- version : '0.1.0',
+ version : run_command('cat', join_paths(meson.project_source_root(), 'version')).stdout().strip(),
default_options : [
'c_std=gnu11',
'warning_level=3',
@@ -30,4 +30,4 @@ endif
install_data(
'pam/astal-auth',
install_dir : get_option('sysconfdir') / 'pam.d'
-) \ No newline at end of file
+)