]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: also allow setting GIT_VERSION via templates
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 5 Apr 2022 14:52:44 +0000 (16:52 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 5 Apr 2022 20:18:31 +0000 (22:18 +0200)
commit8f04a1ca2bf973e5419c32adca1dcf888e0b263f
tree978baef3c11ea9c87119843b155a47618e5377ca
parent3761002eeaead8392a1c1517251c4f9be7c688aa
meson: also allow setting GIT_VERSION via templates

GIT_VERSION is not available as a config.h variable, because it's rendered
into version.h during builds. Let's rework jinja2 rendering to also
parse version.h. No functional change, the new variable is so far unused.

I guess this will make partial rebuilds a bit slower, but it's useful
to be able to use the full version string.
22 files changed:
docs/sysvinit/meson.build
factory/templates/meson.build
man/meson.build
meson.build
rules.d/meson.build
shell-completion/bash/meson.build
shell-completion/zsh/meson.build
src/core/meson.build
src/journal-remote/meson.build
src/libsystemd/meson.build
src/libudev/meson.build
src/login/meson.build
src/resolve/meson.build
src/rpm/meson.build
src/timesync/meson.build
src/udev/meson.build
src/vconsole/meson.build
sysctl.d/meson.build
sysusers.d/meson.build
tmpfiles.d/meson.build
tools/meson-render-jinja2.py
units/meson.build