On Fri, Oct 21, 2011 at 01:17:19AM +0200, Marc-André Lureau wrote:
---
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 \
$<
ACK
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|