[swaylock] Install pam module
+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/'
+)
