summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuciano Santos <luciano.santos@email.com>2022-08-10 08:48:54 -0300
committerJan Rybar <jrybar@redhat.com>2022-08-15 08:35:22 +0000
commit8e555982e5801e540925235beec42a2782911ea0 (patch)
tree53a8477ca1f9653b9184ee2eaa802676690e83fd
parentf662e3b7de14f52b601d8435f4f42e20af0e95ca (diff)
downloadpolkit-8e555982e5801e540925235beec42a2782911ea0.tar.gz
build: Honour pam_prefix meson option
Make the use of pam_prefix worth its while since, at the moment, its value is not being used. Instead, a hard-coded path is being deployed when it shouldn't anymore.
-rw-r--r--data/meson.build2
-rw-r--r--meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/meson.build b/data/meson.build
index b7b2fcd..5889495 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -22,7 +22,7 @@ if enable_pam
output: '@BASENAME@',
configuration: pam_conf,
install: true,
- install_dir: pk_sysconfdir / 'pam.d',
+ install_dir: pam_prefix,
)
endif
diff --git a/meson.build b/meson.build
index 9eb52e7..8ffc2ce 100644
--- a/meson.build
+++ b/meson.build
@@ -242,7 +242,7 @@ if enable_pam
pam_prefix = get_option('pam_prefix')
if pam_prefix == ''
- pam_prefix = pk_sysconfdir
+ pam_prefix = pk_sysconfdir / 'pam.d'
else
message('PAM files will be installed in prefix ' + pam_prefix)
endif