summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2015-10-11 19:38:20 -0400
committerGiovanni Campagna <gcampagna@src.gnome.org>2015-10-11 19:38:47 -0400
commit4340e75f614dd27833a82f66932d3bc63f58aa63 (patch)
treebefdaac95149a7a50cdeeda48887eafec20bc865
parent3a0eb8aa87593d3bad34aaeebf645bde1bae6316 (diff)
downloadlibgweather-4340e75f614dd27833a82f66932d3bc63f58aa63.tar.gz
Fix installation of gir/typelib
If gobject-introspection is not in the same prefix as libgweather
-rw-r--r--libgweather/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgweather/Makefile.am b/libgweather/Makefile.am
index 4210b36..4d74f95 100644
--- a/libgweather/Makefile.am
+++ b/libgweather/Makefile.am
@@ -112,10 +112,10 @@ GWeather_3_0_gir_SCANNERFLAGS = --identifier-prefix=GWeather --symbol-prefix=gwe
GWeather_3_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources)) $(addprefix $(builddir)/,$(built_introspection_sources))
INTROSPECTION_GIRS += GWeather-3.0.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)