define the pam directory at the top level

This commit is contained in:
William Hubbs
2021-12-31 11:01:55 -06:00
parent 29477075c8
commit 0f8fe2a6cb
2 changed files with 3 additions and 6 deletions

View File

@@ -101,11 +101,9 @@ executable('start-stop-daemon',
install_dir: sbindir)
if get_option('pam')
pam_dir = get_option('sysconfdir') / 'pam.d'
install_data('start-stop-daemon.pam',
rename : 'start-stop-daemon',
install_dir : pam_dir)
install_dir : pamdir)
endif
executable('supervise-daemon',
@@ -119,11 +117,9 @@ executable('supervise-daemon',
install_dir: sbindir)
if get_option('pam')
pam_dir = get_option('sysconfdir') / 'pam.d'
install_data('supervise-daemon.pam',
rename : 'supervise-daemon',
install_dir : pam_dir)
install_dir : pamdir)
endif
if os == 'Linux'