fwupd/data/remotes.d/meson.build
Richard Hughes 2d95a71a0c Support embedded devices with local firmware metadata
In this mode, both the metadata and firmware is stored on the local filesystem
and distributed using a distribution system like OSTree.

Fixes https://github.com/hughsie/fwupd/issues/162
2017-07-28 17:41:24 +01:00

28 lines
755 B
Meson

install_data([
'lvfs.conf',
'lvfs-testing.conf',
],
install_dir : join_paths(get_option('sysconfdir'), 'fwupd', 'remotes.d')
)
install_data('README.md',
install_dir : join_paths(get_option('datadir'), 'fwupd', 'remotes.d', 'vendor', 'firmware')
)
# replace @datadir@
con2 = configuration_data()
con2.set('datadir', join_paths(get_option('prefix'), get_option('datadir')))
configure_file(
input : 'fwupd.conf',
output : 'fwupd.conf',
configuration : con2,
install: true,
install_dir: join_paths(get_option('sysconfdir'), 'fwupd', 'remotes.d'),
)
configure_file(
input : 'vendor.conf',
output : 'vendor.conf',
configuration : con2,
install: true,
install_dir: join_paths(get_option('sysconfdir'), 'fwupd', 'remotes.d'),
)