[vte] build: Fix building the vala test app with builddir != srcdir



commit 29fb71d3e6ba46e3539a2e0b755b0c7bb1c74670
Author: Christian Persch <chpe src gnome org>
Date:   Mon Mar 20 21:56:32 2017 +0100

    build: Fix building the vala test app with builddir != srcdir
    
    The vala automake integration really can't cope with builddir != srcdir,
    so explicitly use an absolute path to the generated vte vapi file using
    $(abs_top_builddir).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780162

 bindings/vala/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bindings/vala/Makefile.am b/bindings/vala/Makefile.am
index 0078ad4..9e84c85 100644
--- a/bindings/vala/Makefile.am
+++ b/bindings/vala/Makefile.am
@@ -33,10 +33,10 @@ CLEANFILES += $(nodist_vapi_DATA)
 vte_@VTE_API_MAJOR_VERSION@_@VTE_API_MINOR_VERSION@_SOURCES = \
        app.vala \
        config.vapi \
-       $(builddir)/vte-$(VTE_API_VERSION).vapi \
        $(NULL)
 
 nodist_vte_@VTE_API_MAJOR_VERSION@_@VTE_API_MINOR_VERSION@_SOURCES = \
+       $(abs_top_builddir)/bindings/vala/vte-$(VTE_API_VERSION).vapi \
        appresources.c \
        $(NULL)
 


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