Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
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'
install_data(
'getopt-example.bash',
'getopt-example.tcsh',
- install_dir : 'doc',
+ install_dir : docdir,
install_mode: 'rwxr-xr-x')
fincore_sources = files(