mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 04:20:04 +01:00
build: use install_emptydir for installing the history dir
This resolves the following deprecation warning, meson these days has a
special function for installing an empty directory:
* 0.60.0: {'install_subdir with empty directory'}
This commit is contained in:
parent
d8c22cf085
commit
3e808424b3
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ project('upower', 'c',
|
|||
'warning_level=1',
|
||||
'c_std=gnu99',
|
||||
],
|
||||
meson_version: '>= 0.56.0')
|
||||
meson_version: '>= 0.60.0')
|
||||
|
||||
soversion = 3
|
||||
current = 1
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ up_self_test = executable('up_self_test',
|
|||
# Data/Config files
|
||||
#############
|
||||
|
||||
install_subdir('does-not-exist', install_dir: historydir, strip_directory : true)
|
||||
install_emptydir(historydir)
|
||||
|
||||
cdata = configuration_data()
|
||||
cdata.set('libexecdir', get_option('prefix') / get_option('libexecdir'))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue