[gnome-panel] build: This fixes 'make distcheck'



commit d77d68d4c5e44dc6ee8ade3c0e6aa8d770c48352
Author: Sebastian Geiger <sbastig gmx net>
Date:   Mon Jun 2 02:12:00 2014 +0200

    build: This fixes 'make distcheck'
    
     * This commit changes the directory for gir introspection
       files such that it honors the prefix.
     * Without this commit there will be an error message like
       this one:
    
        cannot remove ‘/usr/share/gir-1.0/...`: Permission denied
    
       when 'make distcheck' is run.

 libpanel-applet/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libpanel-applet/Makefile.am b/libpanel-applet/Makefile.am
index 5759d03..bbc6b1c 100644
--- a/libpanel-applet/Makefile.am
+++ b/libpanel-applet/Makefile.am
@@ -126,10 +126,10 @@ PanelApplet_4_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources)) $(a
 PanelApplet_4_0_gir_SCANNERFLAGS = --identifier-prefix=Panel --symbol-prefix=panel 
--pkg-export=libpanelapplet-4.0
 INTROSPECTION_GIRS += PanelApplet-4.0.gir
 
-girdir = $(INTROSPECTION_GIRDIR)
+girdir = $(datadir)/gir-1.0
 gir_DATA = $(INTROSPECTION_GIRS)
 
-typelibdir = $(INTROSPECTION_TYPELIBDIR)
+typelibdir = $(datadir)/gir-1.0
 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 
 CLEANFILES += $(gir_DATA) $(typelib_DATA)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]