[swaylock] Install pam module

This commit is contained in:
Bruno Pinto 2018-04-20 01:25:51 +01:00
parent a5719f9f43
commit 55ed2736b5
No known key found for this signature in database
GPG key ID: 10EC5682FA9EF384

View file

@ -1,3 +1,5 @@
sysconfdir = get_option('sysconfdir')
executable( executable(
'swaylock', [ 'swaylock', [
'main.c', 'main.c',
@ -21,3 +23,8 @@ executable(
link_with: [lib_sway_common, lib_sway_client], link_with: [lib_sway_common, lib_sway_client],
install: true install: true
) )
install_data(
'pam/swaylock',
install_dir: sysconfdir + '/pam.d/'
)