summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2021-03-02 08:22:22 +0300
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>2021-03-15 18:25:06 +0000
commita82e019de91ea988c67555fd1b342e8e91e85ed5 (patch)
tree5cd67d1f0a68f343eb637e54e5e63f8b4dfcab7c /meson.build
parentf4bce0bb9808a9abd667e71d72f71bd5bd9e198e (diff)
build-sys: meson: fix meson dist version
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/516>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 5a1df59d9..6b86ba2bc 100644
--- a/meson.build
+++ b/meson.build
@@ -4,6 +4,8 @@ project('pulseaudio', 'c', 'cpp',
default_options : [ 'c_std=gnu11', 'cpp_std=c++11' ]
)
+meson.add_dist_script('scripts/save-tarball-version.sh', meson.project_version())
+
pa_version_str = meson.project_version()
# For tarballs, the first split will do nothing, but for builds in git, we
# split out suffixes when there are commits since the last tag