[folks] Do not install the TpLowlevel.{gir,typelib}



commit 3a4c15da4a23a0a8d12af11de8c6732de97c69a0
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date:   Fri Jun 28 10:47:59 2013 +0300

    Do not install the TpLowlevel.{gir,typelib}
    
    Adapted from a patch by Markus Lehtonen <markus lehtonen linux intel com>

 backends/telepathy/lib/Makefile.am |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/backends/telepathy/lib/Makefile.am b/backends/telepathy/lib/Makefile.am
index f2d5e8a..24e2897 100644
--- a/backends/telepathy/lib/Makefile.am
+++ b/backends/telepathy/lib/Makefile.am
@@ -219,7 +219,10 @@ TpLowlevel_ API_VERSION_MAJOR@_ API_VERSION_MINOR@_gir_SCANNERFLAGS = \
         $(NULL)
 TpLowlevel_ API_VERSION_MAJOR@_ API_VERSION_MINOR@_gir_VERSION = $(API_VERSION_DOT)
 INTROSPECTION_GIRS += TpLowlevel-$(API_VERSION_DOT).gir
-dist_noinst_DATA += TpLowlevel-$(API_VERSION_DOT).gir
+dist_noinst_DATA += \
+       TpLowlevel-$(API_VERSION_DOT).gir \
+       TpLowlevel-$(API_VERSION_DOT).typelib \
+       $(NULL)
 
 #------------------------------------
 # Folks Telepathy
@@ -257,13 +260,20 @@ libfolks_telepathy_la_VALAFLAGS += \
 # General
 #------------------------------------
 girdir = $(datadir)/gir-1.0
-dist_gir_DATA = $(INTROSPECTION_GIRS)
+dist_noinst_DATA += \
+       TpLowlevel-$(API_VERSION_DOT).gir \
+       TpLowlevel-$(API_VERSION_DOT).typelib \
+       $(NULL)
+dist_gir_DATA = $(filter-out TpLowlevel-$(API_VERSION_DOT).gir,$(INTROSPECTION_GIRS))
 
 typelibdir = $(libdir)/girepository-1.0
 nodist_typelib_DATA = $(dist_gir_DATA:.gir=.typelib)
 
 CLEANFILES += $(nodist_typelib_DATA)
-MAINTAINERCLEANFILES += $(dist_gir_DATA)
+MAINTAINERCLEANFILES += \
+       $(dist_gir_DATA) \
+       $(gir_dist_noinst_DATA) \
+       $(NULL)
 
 ##################################################################
 # Common


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