From cd63ba2cc0d32608a0f2f4c7ced6016cde0fc60c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 28 Feb 2018 21:29:38 +1000 Subject: tools: add the git version in the libinput-record output Signed-off-by: Peter Hutterer --- meson.build | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index c80f4b79..ba24a6fc 100644 --- a/meson.build +++ b/meson.build @@ -240,6 +240,11 @@ pkgconfig.generate( libraries : lib_libinput ) +vcs_tag(['git', 'describe'], + 'unknown', + input : 'src/libinput-git-version.h.in', + output :'libinput-git-version.h') + # Restore the SELinux context for the libinput.so.a.b.c on install # meson bug https://github.com/mesonbuild/meson/issues/1967 meson.add_install_script('src/libinput-restore-selinux-context.sh', -- cgit v1.2.3