Blob Blame History Raw
From f3d202ff1c9e3f07a9b9526f17eb1d4e13b6f96b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
Date: Tue, 17 Dec 2019 15:39:24 +0100
Subject: [PATCH 151/181] libfprint: Make sure we install fp-enums.h in the
 right folder

Since we were not explictly setting the install_dir, it was endind up in
$PREFIX/include by default, while we use our project name as subfolder.
---
 libfprint/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libfprint/meson.build b/libfprint/meson.build
index c4984e2..50df8a0 100644
--- a/libfprint/meson.build
+++ b/libfprint/meson.build
@@ -176,7 +176,9 @@ other_sources = []
 
 fp_enums = gnome.mkenums_simple('fp-enums',
     sources: libfprint_public_headers,
-    install_header : true)
+    install_header: true,
+    install_dir: get_option('includedir') / meson.project_name(),
+)
 fp_enums_h = fp_enums[1]
 
 fpi_enums = gnome.mkenums_simple('fpi-enums',
-- 
2.24.1