[Libosinfo] [libosinfo PATCH] meson: respect mandir option

Roman Bogorodskiy bogorodskiy at gmail.com
Sun Dec 8 11:37:54 UTC 2019


Construct man installation dir from libosinfo_mandir instead of
libosinfo_datadir.

Signed-off-by: Roman Bogorodskiy <bogorodskiy at gmail.com>
---
 tools/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/meson.build b/tools/meson.build
index d24b167..0a95664 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -54,7 +54,7 @@ if pod2man.found()
             output: file + '.1',
             input: file + '.c',
             install: true,
-            install_dir: join_paths(libosinfo_datadir, 'man', 'man1'),
+            install_dir: join_paths(libosinfo_mandir, 'man1'),
             build_by_default: true,
             command: [
                 pod2man,
-- 
2.23.0





More information about the Libosinfo mailing list