From: Thomas Weißschuh Date: Thu, 30 Dec 2021 15:33:33 +0000 (+0100) Subject: meson: install examples to correct directory X-Git-Tag: v2.38-rc1~84^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12ebed03c3ae3939296cccd7d4b19898e8ccf3fd;p=thirdparty%2Futil-linux.git meson: install examples to correct directory Signed-off-by: Thomas Weißschuh --- diff --git a/meson.build b/meson.build index c183a276bc..13475a554a 100644 --- a/meson.build +++ b/meson.build @@ -18,7 +18,7 @@ endif bindir = join_paths(prefixdir, get_option('bindir')) sbindir = join_paths(prefixdir, get_option('sbindir')) sysconfstaticdir = join_paths(prefixdir, 'lib') -docdir = '/usr/share/doc/util-linux' +docdir = join_paths(prefixdir, get_option('datadir'), 'doc', 'util-linux') mandir = join_paths(prefixdir, get_option('mandir')) runstatedir = '/run' execprefixdir = '/usr' diff --git a/misc-utils/meson.build b/misc-utils/meson.build index 5db6817a5d..d435207aa2 100644 --- a/misc-utils/meson.build +++ b/misc-utils/meson.build @@ -124,7 +124,7 @@ getopt_sources = files( install_data( 'getopt-example.bash', 'getopt-example.tcsh', - install_dir : 'doc', + install_dir : docdir, install_mode: 'rwxr-xr-x') fincore_sources = files(