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

[libvirt] [PATCH libvirt-glib] Fix vapigen on uninstalled environment



---
 vapi/Makefile.am |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 129ce58..1e94a87 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -11,25 +11,27 @@ vapi_DATA =					\
 
 libvirt-glib-1.0.vapi: $(top_builddir)/libvirt-glib/LibvirtGLib-1.0.gir
 	$(AM_V_GEN)$(VAPIGEN)			\
-		--vapidir=.			\
+		--vapidir=$(builddir)		\
 		--pkg gobject-2.0		\
 		--pkg gio-2.0			\
 		--library libvirt-glib-1.0	\
 		$<
 
 libvirt-gobject-1.0.vapi: $(top_builddir)/libvirt-gobject/LibvirtGObject-1.0.gir
-	$(AM_V_GEN)$(VAPIGEN)			\
-		--vapidir=.			\
-		--pkg gobject-2.0		\
-		--pkg gio-2.0			\
-		--pkg libvirt-glib-1.0		\
-		--library libvirt-gobject-1.0	\
-		--metadatadir=$(srcdir)		\
+	$(AM_V_GEN)$(VAPIGEN)							 \
+		--vapidir=$(builddir)						 \
+		--pkg gobject-2.0						 \
+		--pkg gio-2.0							 \
+		--pkg libvirt-glib-1.0						 \
+		--library libvirt-gobject-1.0					 \
+		--metadatadir=$(srcdir)						 \
+		--girdir=$(top_builddir)/libvirt-glib				 \
+		--girdir=$(top_builddir)/libvirt-gconfig			 \
 		$<
 
 libvirt-gconfig-1.0.vapi: $(top_builddir)/libvirt-gconfig/LibvirtGConfig-1.0.gir
 	$(AM_V_GEN)$(VAPIGEN)			\
-		--vapidir=.			\
+		--vapidir=$(builddir)		\
 		--pkg gobject-2.0		\
 		--library libvirt-gconfig-1.0	\
 		$<
-- 
1.7.6.2


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