[gtksourceview] Fix introspection: install gir and typlib files into prefix...



commit d3eec6a7318937d0b7ee2383ee51e9b80c9e0de9
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Mon Jan 9 08:20:12 2012 +0100

    Fix introspection: install gir and typlib files into prefix...
    
    ...by computing the gir and typelib directories based on
    ${datadir} and ${libdir}, which both point to the prefix
    as passed to ./configure.
    
    ${INTROSPECTION_GIRDIR} and ${INTROSPECTION_TYPELIBDIR} point
    to the location of the *installed* gir and typelibdir which
    are most likely going to be /usr/share/gir-1.0 and
    /usr/lib/girepository-1.0.

 gtksourceview/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/Makefile.am b/gtksourceview/Makefile.am
index 19bfc6f..9372197 100644
--- a/gtksourceview/Makefile.am
+++ b/gtksourceview/Makefile.am
@@ -203,10 +203,10 @@ GtkSource_3_0_gir_INCLUDES = Gtk-3.0 Gdk-3.0
 GtkSource_3_0_gir_PACKAGES = gtk+-3.0 gdk-3.0
 GtkSource_3_0_gir_EXPORT_PACKAGES = gtksourceview-3.0
 
-girdir = $(INTROSPECTION_GIRDIR)
+girdir = $(datadir)/gir-1.0
 gir_DATA = $(INTROSPECTION_GIRS)
 
-typelibdir = $(INTROSPECTION_TYPELIBDIR)
+typelibdir = $(libdir)/girepository-1.0
 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 
 CLEANFILES +=			\



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