summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Picca <[email protected]>2019-04-23 12:19:39 -0300
committermonsta <[email protected]>2019-08-12 12:09:40 +0300
commit193d18934599be8468254f66536e8350361bf789 (patch)
tree5a745b4a2a2526fbb5b2586043b00423b9acd4ce
parent1457559cc34d1795887d4c77fefc3310b89e496d (diff)
downloadmate-menus-193d18934599be8468254f66536e8350361bf789.tar.bz2
mate-menus-193d18934599be8468254f66536e8350361bf789.tar.xz
Use datadir and libdir when install gir files
Currently gir generated files are installed in INTROSPECTION_GIRDIR and INSTROSPECTION_TYPELIBDIR.
-rw-r--r--libmenu/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmenu/Makefile.am b/libmenu/Makefile.am
index 34150f2..2b72443 100644
--- a/libmenu/Makefile.am
+++ b/libmenu/Makefile.am
@@ -64,10 +64,10 @@ MateMenu_2_0_gir_SCANNERFLAGS = --identifier-prefix=MateMenu --symbol-prefix=mat
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)