diff options
author | Juan Picca <[email protected]> | 2019-06-17 00:53:00 -0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-21 09:42:55 +0200 |
commit | 622448814ded2129d4415713a1d06d6fdcb80cfb (patch) | |
tree | b57e4ee6aa5c5d981e6f012e71d5bcd6dd62cf1c /libmate-panel-applet | |
parent | a1c2e4d8f3f81e0d75bb0ae2da4f96dbee2906d7 (diff) | |
download | mate-panel-622448814ded2129d4415713a1d06d6fdcb80cfb.tar.bz2 mate-panel-622448814ded2129d4415713a1d06d6fdcb80cfb.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)
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/Makefile.am | 4 |
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) |