define the pam directory at the top level
This commit is contained in:
parent
29477075c8
commit
0f8fe2a6cb
@ -107,6 +107,7 @@ rc_bindir = rc_libexecdir / 'bin'
|
|||||||
rc_sbindir = rc_libexecdir / 'sbin'
|
rc_sbindir = rc_libexecdir / 'sbin'
|
||||||
rc_shdir = rc_libexecdir / 'sh'
|
rc_shdir = rc_libexecdir / 'sh'
|
||||||
sbindir = rootprefix / get_option('sbindir')
|
sbindir = rootprefix / get_option('sbindir')
|
||||||
|
pamdir = get_option('sysconfdir') / 'pam.d'
|
||||||
|
|
||||||
crypt_dep = []
|
crypt_dep = []
|
||||||
|
|
||||||
|
@ -101,11 +101,9 @@ executable('start-stop-daemon',
|
|||||||
install_dir: sbindir)
|
install_dir: sbindir)
|
||||||
|
|
||||||
if get_option('pam')
|
if get_option('pam')
|
||||||
pam_dir = get_option('sysconfdir') / 'pam.d'
|
|
||||||
|
|
||||||
install_data('start-stop-daemon.pam',
|
install_data('start-stop-daemon.pam',
|
||||||
rename : 'start-stop-daemon',
|
rename : 'start-stop-daemon',
|
||||||
install_dir : pam_dir)
|
install_dir : pamdir)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
executable('supervise-daemon',
|
executable('supervise-daemon',
|
||||||
@ -119,11 +117,9 @@ executable('supervise-daemon',
|
|||||||
install_dir: sbindir)
|
install_dir: sbindir)
|
||||||
|
|
||||||
if get_option('pam')
|
if get_option('pam')
|
||||||
pam_dir = get_option('sysconfdir') / 'pam.d'
|
|
||||||
|
|
||||||
install_data('supervise-daemon.pam',
|
install_data('supervise-daemon.pam',
|
||||||
rename : 'supervise-daemon',
|
rename : 'supervise-daemon',
|
||||||
install_dir : pam_dir)
|
install_dir : pamdir)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if os == 'Linux'
|
if os == 'Linux'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user