[gitg] Force install of introspection files in $prefix



commit 9cbc47296f6163599db19e816d8a808c178bc167
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Thu Jan 9 21:29:09 2014 +0100

    Force install of introspection files in $prefix

 configure.ac |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ce2e2fe..bc0e6a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -208,6 +208,17 @@ AC_SUBST(GITG_LIBS)
 GOBJECT_INTROSPECTION_REQUIRE($INTROSPECTION_REQUIRED)
 AC_SUBST(INTROSPECTION_REQUIRED)
 
+INTROSPECTION_GIRDIR=`$PKG_CONFIG \
+--define-variable="prefix=${prefix}" \
+--define-variable="datarootdir=${datarootdir}" \
+--define-variable="datadir=${datadir}" \
+--variable=girdir gobject-introspection-1.0`
+
+INTROSPECTION_TYPELIBDIR=`$PKG_CONFIG \
+--define-variable="prefix=${prefix}" \
+--define-variable="libdir=${libdir}" \
+--variable=typelibdir gobject-introspection-1.0`
+
 GNOME_COMPILE_WARNINGS([maximum])
 
 GLIB_GSETTINGS


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