[libgee] Generate, install and distribute GIR file
- From: Didier 'Ptitjes' Villevalois <dvillevalois src gnome org>
- To: svn-commits-list gnome org
- Subject: [libgee] Generate, install and distribute GIR file
- Date: Mon, 20 Jul 2009 12:40:33 +0000 (UTC)
commit c79d5b66be049145d05a183e2cde405473729b6c
Author: Didier 'Ptitjes <ptitjes free fr>
Date: Mon Jul 20 11:58:52 2009 +0200
Generate, install and distribute GIR file
Signed-off-by: Didier 'Ptitjes <ptitjes free fr>
gee/Makefile.am | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/gee/Makefile.am b/gee/Makefile.am
index 5d9c02d..c4492b4 100644
--- a/gee/Makefile.am
+++ b/gee/Makefile.am
@@ -40,7 +40,7 @@ geeinclude_HEADERS = \
$(NULL)
gee-1.0.vapi gee.vala.stamp: $(libgee_la_VALASOURCES)
- $(VALAC) -C -H gee.h --library gee-1.0 $^
+ $(VALAC) -C -H gee.h --library gee-1.0 --gir Gee-1.0.gir $^
touch $@
libgee_la_LIBADD = \
@@ -53,4 +53,10 @@ dist_vapi_DATA = \
gee-1.0.vapi \
$(NULL)
-EXTRA_DIST += $(libgee_la_VALASOURCES) gee-1.0.vapi gee.vala.stamp
+girdir = `$(PKG_CONFIG) --variable=girdir gobject-introspection-1.0`
+
+dist_gir_DATA = \
+ Gee-1.0.gir \
+ $(NULL)
+
+EXTRA_DIST += $(libgee_la_VALASOURCES) gee-1.0.vapi Gee-1.0.gir gee.vala.stamp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]