meson: Decouple the version tag from the vcs tag
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 16 Feb 2024 15:58:58 +0000 (16:58 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 21 Feb 2024 13:01:25 +0000 (14:01 +0100)
commit3f6ce3d4f04de0f765bb3bde0e400d0823829486
treedffc973b75f87412a4298f251abeaa8a6fd92fc1
parent88d4b97a24d532c1c34cbb99ac46e25f905d3884
meson: Decouple the version tag from the vcs tag

Let's split off a new vcs-tag option from version-tag that configures whether
the current commit should be appended to the version tag. Doing this saves
us from having to fiddle around with generating git versions in packaging
specs and instead let's meson do it for us, even if we pass in a custom
version tag.

With this approach there's no more need for tools/meson-vcs-tag.sh so
we remove it.
meson.build
meson_options.txt
src/boot/efi/meson.build
src/version/version.h.in
tools/meson-vcs-tag.sh [deleted file]