summaryrefslogtreecommitdiff
path: root/libtracefs-use-same-subdir-with-Makefile.patch
blob: d2dc8776ddc22dcbfd6870755a67d7fe7653468c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From 7860e362e2a47ed9caecf848378a6e2e605badef Mon Sep 17 00:00:00 2001
From: Funda Wang <fundawang@yeah.net>
Date: Tue, 7 Jan 2025 02:05:02 +0800
Subject: [PATCH] use same subdir with Makefile

---
 include/meson.build | 2 +-
 src/meson.build     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/meson.build b/include/meson.build
index 52db432..3a9f140 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -7,5 +7,5 @@ headers = [
 ]
 
 foreach h : headers
-    install_headers(h, subdir : 'libtracefs')
+    install_headers(h, subdir : 'tracefs')
 endforeach
diff --git a/src/meson.build b/src/meson.build
index 31fd9ed..4853912 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -53,7 +53,7 @@ pkg = import('pkgconfig')
 pkg.generate(
     libtracefs,
     libraries: [libtraceevent_dep],
-    subdirs: 'libtracefs',
+    subdirs: 'tracefs',
     filebase: meson.project_name(),
     name: meson.project_name(),
     version: meson.project_version(),
-- 
2.46.0