From: Sedat Dilek Date: Wed, 23 Oct 2024 20:52:49 +0000 (+0200) Subject: meson: Collect all prefix get_option at one place X-Git-Tag: v34~183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1deab2be36f4ca7e04a0fd1ef2188fed6cfbbda;p=thirdparty%2Fkmod.git meson: Collect all prefix get_option at one place Signed-off-by: Sedat Dilek Link: https://lore.kernel.org/r/20241023205352.45271-1-sedat.dilek@gmail.com Signed-off-by: Lucas De Marchi --- diff --git a/meson.build b/meson.build index 58acf2ea..2ed33c28 100644 --- a/meson.build +++ b/meson.build @@ -187,6 +187,7 @@ sysconfdir = get_option('sysconfdir') cdata.set_quoted('SYSCONFDIR', sysconfdir) bindir = join_paths(get_option('prefix'), get_option('bindir')) +includedir = join_paths(get_option('prefix'), get_option('includedir')) libdir = join_paths(get_option('prefix'), get_option('libdir')) distconfdir = get_option('distconfdir') @@ -493,7 +494,7 @@ summary({ 'sysconfdir' : sysconfdir, 'distconfdir' : distconfdir, 'libdir' : libdir, - 'includedir' : join_paths(get_option('prefix'), get_option('includedir')), + 'includedir' : includedir, 'bindir' : bindir }, section : 'Directories')