aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swaylock/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/swaylock/meson.build b/swaylock/meson.build
index 3cde47a4..63f694b9 100644
--- a/swaylock/meson.build
+++ b/swaylock/meson.build
@@ -1,3 +1,5 @@
+sysconfdir = get_option('sysconfdir')
+
executable(
'swaylock', [
'main.c',
@@ -21,3 +23,8 @@ executable(
link_with: [lib_sway_common, lib_sway_client],
install: true
)
+
+install_data(
+ 'pam/swaylock',
+ install_dir: sysconfdir + '/pam.d/'
+)