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

Fabiano Fidêncio fidencio at redhat.com
Sun Dec 8 09:54:12 UTC 2019


On Sun, Dec 8, 2019 at 7:13 AM Roman Bogorodskiy <bogorodskiy at gmail.com> wrote:
>
> 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
>
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
>

Reviewed-by: Fabiano Fidêncio <fidencio at redhat.com>





More information about the Libosinfo mailing list