diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-05-16 16:04:04 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-19 03:24:43 +0200 |
commit | 1d587e04b9d2efe2bfc6df3e1946c46b106532ed (patch) | |
tree | 96acd57cb42c959a57acb7bc39ad957bf38eba14 /src/vconsole/meson.build | |
parent | meson: use jinja2 in sysctl.d/ (diff) | |
download | systemd-1d587e04b9d2efe2bfc6df3e1946c46b106532ed.tar.xz systemd-1d587e04b9d2efe2bfc6df3e1946c46b106532ed.zip |
meson: use jinja2 in src/vconsole
Diffstat (limited to 'src/vconsole/meson.build')
-rw-r--r-- | src/vconsole/meson.build | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/vconsole/meson.build b/src/vconsole/meson.build index 695ef0239d..dea4121f1a 100644 --- a/src/vconsole/meson.build +++ b/src/vconsole/meson.build @@ -1,10 +1,10 @@ # SPDX-License-Identifier: LGPL-2.1-or-later -if conf.get('ENABLE_VCONSOLE') == 1 - vconsole_rules = configure_file( - input : '90-vconsole.rules.in', - output : '90-vconsole.rules', - configuration : substs) - install_data(vconsole_rules, - install_dir : udevrulesdir) -endif +custom_target( + '90-vconsole.rules', + input : '90-vconsole.rules.in', + output : '90-vconsole.rules', + command : [meson_render_jinja2, config_h, '@INPUT@'], + capture : true, + install : conf.get('ENABLE_VCONSOLE') == 1, + install_dir : udevrulesdir) |