From fd709885872e6392b5f4cb3363cc29a8f0a617c3 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 29 Dec 2021 19:04:06 -0600 Subject: remove separate pam directory --- src/rc/meson.build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/rc/meson.build') diff --git a/src/rc/meson.build b/src/rc/meson.build index c76587c2..8b3fd205 100644 --- a/src/rc/meson.build +++ b/src/rc/meson.build @@ -100,6 +100,14 @@ executable('start-stop-daemon', install: true, 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) +endif + executable('supervise-daemon', ['supervise-daemon.c', rc_misc_c, rc_plugin_c, rc_schedules_c, usage_c, version_h], @@ -110,6 +118,14 @@ executable('supervise-daemon', install: true, 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) +endif + if os == 'Linux' executable('openrc-init', ['openrc-init.c', rc_plugin_c, rc_wtmp_c, version_h], -- cgit v1.2.3