summaryrefslogtreecommitdiff
path: root/config/meson.build
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2023-05-26 00:32:49 +0300
committerEd Tanous <ed@tanous.net>2023-06-06 20:43:01 +0300
commit0a9c11e85eb92140ba8d7120244b97cad615d483 (patch)
tree74cda48d21f3c7ea55052e7e5cb62deb9422bb80 /config/meson.build
parent982dd79d371c48f48ea1e3462545ac4e2a8b4f93 (diff)
downloadbmcweb-0a9c11e85eb92140ba8d7120244b97cad615d483.tar.xz
Fix meson warning
NOTICE: Future-deprecated features used: * 0.64.0: {'copy arg in configure_file'} Port to the new version of this, which is install_data. Tested: Meson configure no longer throws the above warning. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I9c4d91c3c45bc52dde69ca34d7fc686e2e6c0d74
Diffstat (limited to 'config/meson.build')
-rw-r--r--config/meson.build10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/meson.build b/config/meson.build
index d29d115556..0261d6b055 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -50,9 +50,9 @@ configure_file(input : 'bmcweb.service.in',
install : true)
# Copy pam-webserver to etc/pam.d
-configure_file(input : 'pam-webserver',
- output : 'webserver',
- copy : true,
- install_dir: '/etc/pam.d',
- install : true)
+install_data(
+ 'pam-webserver',
+ install_dir: '/etc/pam.d/',
+ rename: 'webserver',
+)