[vte/vte-next] introspection: Include C include file and exported pkg-config file info in GIR



commit 3860174ad83f8bda39481c4066537321d6e8a9af
Author: Christian Persch <chpe gnome org>
Date:   Mon Oct 31 14:08:41 2011 +0100

    introspection: Include C include file and exported pkg-config file info in GIR
    
    https://bugzilla.gnome.org/show_bug.cgi?id=655402

 src/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 4e6fb09..3a7b6ac 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -170,8 +170,11 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
 if HAVE_INTROSPECTION
 
 Vte- VTE_API_VERSION@.gir: libvte_ VTE_API_MAJOR_VERSION@_ VTE_API_MINOR_VERSION@.la
+
+Vte_ VTE_API_VERSION_U@_gir_EXPORT_PACKAGES = vte$(VTE_PC_VERSION)
+Vte_ VTE_API_VERSION_U@_gir_SCANNERFLAGS = --c-include "vte/vte.h"
 Vte_ VTE_API_VERSION_U@_gir_INCLUDES = Pango-1.0 Gdk-$(GTK_API_VERSION) Gtk-$(GTK_API_VERSION)
-Vte_ VTE_API_VERSION_U@_gir_CFLAGS = $(VTE_CFLAGS) -DVTE_COMPILATION -I$(top_srcdir)
+Vte_ VTE_API_VERSION_U@_gir_CFLAGS = $(VTE_CFLAGS) -DVTE_COMPILATION -I$(top_srcdir) -I$(top_builddir)
 Vte_ VTE_API_VERSION_U@_gir_LIBS = libvte_ VTE_API_MAJOR_VERSION@_ VTE_API_MINOR_VERSION@.la
 Vte_ VTE_API_VERSION_U@_gir_FILES = \
 	vte.c \



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