Linux Modules
 help / color / mirror / Atom feed
* [PATCH] meson: Collect all prefix get_option at one place
@ 2024-10-23 20:52 Sedat Dilek
  2024-10-23 21:27 ` Lucas De Marchi
  0 siblings, 1 reply; 2+ messages in thread
From: Sedat Dilek @ 2024-10-23 20:52 UTC (permalink / raw)
  To: Lucas De Marchi, Emil Velikov, linux-modules; +Cc: Sedat Dilek

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
---
 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 58acf2eac8e9..2ed33c28471f 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')
 
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] meson: Collect all prefix get_option at one place
  2024-10-23 20:52 [PATCH] meson: Collect all prefix get_option at one place Sedat Dilek
@ 2024-10-23 21:27 ` Lucas De Marchi
  0 siblings, 0 replies; 2+ messages in thread
From: Lucas De Marchi @ 2024-10-23 21:27 UTC (permalink / raw)
  To: Sedat Dilek; +Cc: Lucas De Marchi, Emil Velikov, linux-modules

On Wed, Oct 23, 2024 at 10:52:49PM +0200, Sedat Dilek wrote:
>Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
>---


applied, thanks
Lucas De Marchi

> meson.build | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
>diff --git a/meson.build b/meson.build
>index 58acf2eac8e9..2ed33c28471f 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')
>
>-- 
>2.45.2
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-23 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-23 20:52 [PATCH] meson: Collect all prefix get_option at one place Sedat Dilek
2024-10-23 21:27 ` Lucas De Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox