From 062ec0a0cf225ba70b032b8ff977f073ba9f505b Mon Sep 17 00:00:00 2001 From: Juan Picca Date: Tue, 23 Apr 2019 12:19:39 -0300 Subject: Use datadir and libdir when install gir files Currently gir generated files are installed in INTROSPECTION_GIRDIR and INSTROSPECTION_TYPELIBDIR. --- libmenu/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmenu/Makefile.am b/libmenu/Makefile.am index 3d06096..5edc11d 100644 --- a/libmenu/Makefile.am +++ b/libmenu/Makefile.am @@ -66,10 +66,10 @@ MateMenu_2_0_gir_SCANNERFLAGS = --pkg-export=libmate-menu MateMenu_2_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources)) INTROSPECTION_GIRS += MateMenu-2.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) -- cgit v1.2.1