[libgepub] build: Fixed subdir option to use only the subdir path



commit 710f43ef65bc232445efc63a46499a3af5949821
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Tue Jul 4 18:19:31 2017 +0200

    build: Fixed subdir option to use only the subdir path
    
    The full include path was used as subdir option, but only the subdir
    path is needed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784524

 libgepub/meson.build |    2 +-
 meson.build          |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libgepub/meson.build b/libgepub/meson.build
index cf61d29..5d002fc 100644
--- a/libgepub/meson.build
+++ b/libgepub/meson.build
@@ -8,7 +8,7 @@ headers = files(
 
 install_headers(
   headers,
-  subdir: gepub_pkgincludedir
+  subdir: meson.project_name()
 )
 
 private_headers = files(
diff --git a/meson.build b/meson.build
index ee9cb10..2a12732 100644
--- a/meson.build
+++ b/meson.build
@@ -24,8 +24,6 @@ gepub_libdir = join_paths(gepub_prefix, get_option('libdir'))
 gepub_libexecdir = join_paths(gepub_prefix, get_option('libexecdir'))
 gepub_includedir = join_paths(gepub_prefix, get_option('includedir'))
 
-gepub_pkgincludedir = join_paths(gepub_includedir, meson.project_name())
-
 soversion = 0
 current = 0
 revision = 0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]