[PATCH libvirt-glib] Fix vapigen on uninstalled environment

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

 



---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]