[Libosinfo] [osinfo-db-tools PATCH 1/2] meson: respect mandir option

Roman Bogorodskiy bogorodskiy at gmail.com
Sun Dec 8 06:12:45 UTC 2019


There's an osinfo_db_tools_mandir setting that respects meson's 'mandir'
option. Use that for tools man installation dir instead of building
a path based on osinfo_db_tools_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 6c87014..c810fd6 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -90,7 +90,7 @@ if pod2man.found()
             output: file + '.1',
             input: file + '.c',
             install: true,
-            install_dir: join_paths(osinfo_db_tools_datadir, 'man', 'man1'),
+            install_dir: join_paths(osinfo_db_tools_mandir, 'man1'),
             build_by_default: true,
             command: [
                 pod2man,
-- 
2.23.0





More information about the Libosinfo mailing list