[gnome-panel] build: fix GObject introspection installation



commit a71cf083a9519373fed56fcfd229e867710e1326
Author: Ryan Lortie <desrt desrt ca>
Date:   Sun Apr 3 09:27:08 2011 +0530

    build: fix GObject introspection installation
    
    We should install relative to prefix, not in the system directory.
    Fixes 'make install' when installing to a prefix but using the system
    gobject-introspection.

 libpanel-applet/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libpanel-applet/Makefile.am b/libpanel-applet/Makefile.am
index 18ae8c3..add2a3c 100644
--- a/libpanel-applet/Makefile.am
+++ b/libpanel-applet/Makefile.am
@@ -122,10 +122,10 @@ PanelApplet_ LIBPANEL_APPLET_GIR_VERSION@_gir_FILES = $(addprefix $(srcdir)/,$(i
 PanelApplet_ LIBPANEL_APPLET_GIR_VERSION@_gir_SCANNERFLAGS = --identifier-prefix=Panel --symbol-prefix=panel 
--pkg-export=libpanel-applet
 INTROSPECTION_GIRS += PanelApplet-$(LIBPANEL_APPLET_API_VERSION).gir
 
-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 += $(gir_DATA) $(typelib_DATA)


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