27 lines
590 B
Meson
27 lines
590 B
Meson
|
# Diffuse binary file
|
||
|
diffuse_conf = configuration_data()
|
||
|
diffuse_conf.set('SYSCONFIGDIR', sysconfdir)
|
||
|
|
||
|
configure_file(
|
||
|
input: 'usr/bin/diffuse.py.in',
|
||
|
output: 'diffuse',
|
||
|
configuration: diffuse_conf,
|
||
|
install: true,
|
||
|
install_dir: bindir
|
||
|
)
|
||
|
|
||
|
# Diffuse config file
|
||
|
diffuserc_conf = configuration_data()
|
||
|
diffuserc_conf.set('PKGDATADIR', pkgdatadir)
|
||
|
|
||
|
configure_file(
|
||
|
input: 'etc/diffuserc.py.in',
|
||
|
output: 'diffuserc',
|
||
|
configuration: diffuserc_conf,
|
||
|
install: true,
|
||
|
install_dir: sysconfdir
|
||
|
)
|
||
|
|
||
|
# Data files
|
||
|
install_subdir('usr/share', install_dir: datadir, strip_directory: true)
|