Do not get the gir & typelib dirs from g-i
authorJohan Dahlin <johan@gnome.org>
Wed, 30 Dec 2009 23:25:49 +0000 (00:25 +0100)
committerJohan Dahlin <johan@gnome.org>
Wed, 30 Dec 2009 23:25:49 +0000 (00:25 +0100)
As it will break when have a system installed gobject introspection

atk/Makefile.am

index fe9888a..2541b6f 100644 (file)
@@ -156,10 +156,10 @@ Atk_1_0_gir_LIBS = libatk-1.0.la
 Atk_1_0_gir_FILES = $(addprefix $(srcdir)/, $(introspection_sources))
 INTROSPECTION_GIRS += Atk-1.0.gir
 
-girdir = $(INTROSPECTION_GIRDIR)
+girdir = $(datadir)/gir-1.0
 dist_gir_DATA = $(INTROSPECTION_GIRS)
 
-typelibsdir = $(INTROSPECTION_TYPELIBDIR)
+typelibsdir = $(libdir)/girepository-1.0
 typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 
 CLEANFILES += $(dist_gir_DATA) $(typelibs_DATA)