[libgda] Fix non-srcdir build for Vala vapi file



commit 1e5ecd507aa7467dac6d078e199886413a1836df
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Mar 26 12:01:57 2017 +0100

    Fix non-srcdir build for Vala vapi file
    
    The dependent vapi and Gir files are not in the source directory, as
    they are generated at build time.

 libgda-ui/Makefile.am |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/libgda-ui/Makefile.am b/libgda-ui/Makefile.am
index 20565ae..3c592b0 100644
--- a/libgda-ui/Makefile.am
+++ b/libgda-ui/Makefile.am
@@ -255,7 +255,17 @@ if ENABLE_GDAUI_VALA
 vapi: libgdaui-6.0.vapi
 
 libgdaui-6.0.vapi: Gdaui-6.0.gir
-       $(VAPIGEN) --metadatadir=$(top_srcdir)/libgda-ui --vapidir=$(top_srcdir)/libgda 
--girdir=$(top_srcdir)/libgda --library=libgdaui-6.0 --pkg=libxml-2.0 --pkg=libgda-6.0 --pkg=gio-2.0 
--pkg=atk --pkg=gtk+-3.0 Gdaui-6.0.gir
+       $(VAPIGEN) \
+               --metadatadir=$(top_srcdir)/libgda-ui \
+               --vapidir=$(top_builddir)/libgda \
+               --girdir=$(top_builddir)/libgda \
+               --library=libgdaui-6.0 \
+               --pkg=libxml-2.0 \
+               --pkg=libgda-6.0 \
+               --pkg=gio-2.0 \
+               --pkg=atk \
+               --pkg=gtk+-3.0 \
+               Gdaui-6.0.gir
 
 vapidir = $(VAPIDIR)
 vapi_DATA=libgdaui-6.0.vapi


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