]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: install examples to correct directory
authorThomas Weißschuh <thomas@t-8ch.de>
Thu, 30 Dec 2021 15:33:33 +0000 (16:33 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 30 Dec 2021 21:53:08 +0000 (22:53 +0100)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
meson.build
misc-utils/meson.build

index c183a276bc27305529dcd7a95f427bbb8c60a21d..13475a554a94b4c992d1876b9ea425b918d8f07c 100644 (file)
@@ -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'
index 5db6817a5d3506f3945175c838a200fe80ed9ed9..d435207aa24bcbdc0c0b2d44845e57071ca8b2f1 100644 (file)
@@ -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(