build: fix meson warning about 'install' arg in 'configure_file'

WARNING: Project targetting '>= 0.44.0' but tried to use feature
introduced in '0.50.0': install arg in configure_file

From the documentation:

 "install (added 0.50.0) When true, this generated file is installed
 during the install step, and install_dir must be set and not
 empty. When false, this generated file is not installed regardless of
 the value of install_dir. When omitted it defaults to true when
 install_dir is set and not empty, false otherwise."

The parameter can be omitted because install_dir is set.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/216
This commit is contained in:
Beniamino Galvani 2019-08-02 11:59:24 +02:00
parent 91b9b08e33
commit 7c2317a557
2 changed files with 0 additions and 3 deletions

View file

@ -11,7 +11,6 @@ server = 'server.conf'
configure_file(
input: server + '.in',
output: server,
install: true,
install_dir: join_paths(nm_datadir, 'doc', nm_name, 'examples'),
configuration: data_conf,
)
@ -32,7 +31,6 @@ if install_systemd_unit_dir
configure_file(
input: service + '.in',
output: service,
install: true,
install_dir: systemd_system_unit_dir,
configuration: data_conf,
)

View file

@ -13,7 +13,6 @@ service = 'org.freedesktop.nm_dispatcher.service'
configure_file(
input: service + '.in',
output: service,
install: true,
install_dir: dbus_sys_dir,
configuration: service_conf,
)