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
1 changed files with 7 additions and 0 deletions

View File

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