Merge pull request #1830 from bpinto/swaylock/install-pam-module

[swaylock] Install pam module
This commit is contained in:
Drew DeVault 2018-04-20 15:37:27 +02:00 committed by GitHub
commit 8e32c4a1fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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/'
)