mirror of
https://github.com/systemd/systemd.git
synced 2025-01-13 17:18:18 +03:00
meson: use jinja2 in src/udev
This commit is contained in:
parent
1d587e04b9
commit
94e41ec098
@ -158,11 +158,14 @@ if install_sysconfdir_samples
|
||||
install_dir : join_paths(sysconfdir, 'udev'))
|
||||
endif
|
||||
|
||||
configure_file(
|
||||
custom_target(
|
||||
'udev.pc',
|
||||
input : 'udev.pc.in',
|
||||
output : 'udev.pc',
|
||||
configuration : substs,
|
||||
install_dir : pkgconfigdatadir == 'no' ? '' : pkgconfigdatadir)
|
||||
command : [meson_render_jinja2, config_h, '@INPUT@'],
|
||||
capture : true,
|
||||
install : pkgconfigdatadir != 'no',
|
||||
install_dir : pkgconfigdatadir)
|
||||
|
||||
if install_sysconfdir
|
||||
meson.add_install_script('sh', '-c',
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
Name: udev
|
||||
Description: udev
|
||||
Version: @PROJECT_VERSION@
|
||||
Version: {{PROJECT_VERSION}}
|
||||
|
||||
udev_dir=@udevlibexecdir@
|
||||
udev_dir={{UDEVLIBEXECDIR}}
|
||||
udevdir=${udev_dir}
|
||||
|
Loading…
Reference in New Issue
Block a user