mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 14:55:37 +03:00
8f04a1ca2b
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.
12 lines
310 B
Meson
12 lines
310 B
Meson
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
factory_etc_dir = factorydir / 'etc'
|
|
|
|
custom_target(
|
|
'locale.conf',
|
|
input : 'locale.conf.in',
|
|
output : 'locale.conf',
|
|
command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
|
|
install : true,
|
|
install_dir : factory_etc_dir)
|