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
diff --git a/config/meson.build b/config/meson.build
index d29d115..0261d6b 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -50,9 +50,9 @@
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',
+)