summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Picca <[email protected]>2019-06-17 00:53:00 -0300
committermonsta <[email protected]>2019-07-24 13:22:49 +0300
commit595ea1fb8e8959cd304447da7f898e7a39501b30 (patch)
tree6acd9d18dc71e2ed6bbbb72e2434d69e05210350
parent8cf8c2909aab1b7ea1b32774d03a870f8d2a0d6a (diff)
downloadmate-panel-595ea1fb8e8959cd304447da7f898e7a39501b30.tar.bz2
mate-panel-595ea1fb8e8959cd304447da7f898e7a39501b30.tar.xz
Fix Makefile.am to install in a given prefix path
Currently installing mate-panel fails with the error /bin/mkdir -p '/usr/share/gir-1.0' /usr/bin/install -c -m 644 MatePanelApplet-4.0.gir '/usr/share/gir-1.0' /usr/bin/install: cannot create regular file '/usr/share/gir-1.0/MatePanelApplet-4.0.gir': Permission denied when configure is called with the --prefix option. This fix is the same used in: * caja (libcaja-extension/Makefile.am) * eom (src/Makefile.am) * libmatekbd (libmatekbd/Makefile.am) * mate-desktop (libmate-desktop/Makefile.am) * pluma (pluma/Makefile.am)
-rw-r--r--libmate-panel-applet/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmate-panel-applet/Makefile.am b/libmate-panel-applet/Makefile.am
index 0a4eb391..b5f6e6c9 100644
--- a/libmate-panel-applet/Makefile.am
+++ b/libmate-panel-applet/Makefile.am
@@ -133,10 +133,10 @@ MatePanelApplet_4_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
MatePanelApplet_4_0_gir_SCANNERFLAGS = --strip-prefix=MatePanel --pkg-export=libmatepanelapplet-4.0
INTROSPECTION_GIRS += MatePanelApplet-4.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)