diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2021-12-31 11:01:55 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2021-12-31 11:01:55 -0600 |
commit | 0f8fe2a6cb9aec1d02a304224d0659968f8cad1e (patch) | |
tree | 30f4833f2929b95e58cdcfcc3f99276dcba81376 | |
parent | 29477075c87f25701eeeb71f4203e6d2924e3529 (diff) |
define the pam directory at the top level
-rw-r--r-- | meson.build | 1 | ||||
-rw-r--r-- | src/rc/meson.build | 8 |
2 files changed, 3 insertions, 6 deletions
diff --git a/meson.build b/meson.build index 77075f9a..4e79c146 100644 --- a/meson.build +++ b/meson.build @@ -107,6 +107,7 @@ rc_bindir = rc_libexecdir / 'bin' rc_sbindir = rc_libexecdir / 'sbin' rc_shdir = rc_libexecdir / 'sh' sbindir = rootprefix / get_option('sbindir') +pamdir = get_option('sysconfdir') / 'pam.d' crypt_dep = [] diff --git a/src/rc/meson.build b/src/rc/meson.build index 8b3fd205..8fdf3ac3 100644 --- a/src/rc/meson.build +++ b/src/rc/meson.build @@ -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' |