Meson will handle this internall and treat a non-absolute path as an
error.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
# encountered, so this should canonicalize various paths when they are
# absolute or relative.
prefixdir = get_option('prefix')
-if not prefixdir.startswith('/')
- error('Prefix is not absolute: "@0@"'.format(prefixdir))
-endif
bindir = join_paths(prefixdir, get_option('bindir'))
datadir = join_paths(prefixdir, get_option('datadir'))
docdir = join_paths(prefixdir, get_option('docdir'))