aboutsummaryrefslogtreecommitdiff
path: root/swaylock
diff options
context:
space:
mode:
authorBruno Pinto <brunoferreirapinto@gmail.com>2018-04-20 01:25:51 +0100
committerBruno Pinto <brunoferreirapinto@gmail.com>2018-04-20 01:29:47 +0100
commit55ed2736b5a8d69e69ebf6a77fffe684309fd4ac (patch)
tree261da25a555f46336b2dbe2cbb95a74ace987859 /swaylock
parenta5719f9f432b5f9378ebd2136f8a2cde46dfb407 (diff)
[swaylock] Install pam module
Diffstat (limited to 'swaylock')
-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/'
+)