[librest] Fix a few introspection issues



commit 9e6c06c5aef994fd4b503f1f36da753940e53b0d
Author: Michal Hruby <michal mhr gmail com>
Date:   Tue Feb 22 14:53:24 2011 +0100

    Fix a few introspection issues
    
    Fixes: https://bugs.meego.com/show_bug.cgi?id=13745

 rest/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/rest/Makefile.am b/rest/Makefile.am
index f3f8517..b59dd41 100644
--- a/rest/Makefile.am
+++ b/rest/Makefile.am
@@ -66,10 +66,14 @@ Rest- API_VERSION@.gir: librest- API_VERSION@.la Makefile
 Rest_ API_VERSION_AM@_gir_NAMESPACE = Rest
 Rest_ API_VERSION_AM@_gir_VERSION = @API_VERSION@
 Rest_ API_VERSION_AM@_gir_LIBS = librest- API_VERSION@.la
-Rest_ API_VERSION_AM@_gir_FILES = $(addprefix $(top_srcdir)/rest/, $(lib_headers))
+Rest_ API_VERSION_AM@_gir_FILES = \
+	$(lib_headers) \
+	$(filter-out %private.h, $(lib_sources))
 Rest_ API_VERSION_AM@_gir_CFLAGS = -I$(top_srcdir)
 Rest_ API_VERSION_AM@_gir_INCLUDES = GObject-2.0
 Rest_ API_VERSION_AM@_gir_PACKAGES = gobject-2.0 libsoup-2.4 libxml-2.0
+Rest_ API_VERSION_AM@_gir_SCANNERFLAGS = --accept-unprefixed
+Rest_ API_VERSION_AM@_gir_EXPORT_PACKAGES = rest- API_VERSION@
 
 girdir = $(datadir)/gir-1.0
 dist_gir_DATA = $(INTROSPECTION_GIRS)



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