[vte] build: Fix vteapp build dependencies and includes



commit f963f3bbc2d787a0c9a97dfd1b8ef6864a4d3c61
Author: Christian Persch <chpe gnome org>
Date:   Mon Apr 14 21:37:35 2014 +0200

    build: Fix vteapp build dependencies and includes

 src/Makefile.am |   15 ++++++++++-----
 vte             |    1 +
 2 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 7ad747a..ee75763 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,7 @@
 
 EXTRA_DIST = iso2022.txt
 
+bin_PROGRAMS =
 noinst_PROGRAMS =
 
 # The library
@@ -214,13 +215,12 @@ endif # HAVE_INTROSPECTION
 
 if ENABLE_TEST_APPLICATION
 
-bin_PROGRAMS = vte- VTE_API_MAJOR_VERSION@  VTE_API_MINOR_VERSION@
-
-vte- VTE_API_MAJOR_VERSION@  VTE_API_MINOR_VERSION@: vte-$(VTE_API_VERSION).vapi
+bin_PROGRAMS += vte- VTE_API_MAJOR_VERSION@  VTE_API_MINOR_VERSION@
 
 vte_ VTE_API_MAJOR_VERSION@_ VTE_API_MINOR_VERSION@_SOURCES = \
        app.vala \
        config.vapi \
+       vte-$(VTE_API_VERSION).vapi \
        $(NULL)
 
 nodist_vte_ VTE_API_MAJOR_VERSION@_ VTE_API_MINOR_VERSION@_SOURCES = \
@@ -233,8 +233,8 @@ vte_ VTE_API_MAJOR_VERSION@_ VTE_API_MINOR_VERSION@_VALAFLAGS = \
        --pkg=posix \
        --pkg=gio-2.0 \
        --pkg=gtk+-$(GTK_API_VERSION) \
-       --pkg=vte-$(VTE_API_VERSION) \
-       $(NULL)
+       --gresources app.gresource.xml \
+       $(AM_VALAFLAGS)
 
 vte_ VTE_API_MAJOR_VERSION@_ VTE_API_MINOR_VERSION@_CPPFLAGS = \
        $(AM_CPPFLAGS) \
@@ -256,6 +256,11 @@ vte_ VTE_API_MAJOR_VERSION@_ VTE_API_MINOR_VERSION@_LDADD = \
        $(VTE_LIBS) \
        $(NULL)
 
+CLEANFILES += \
+       app.c \
+       appresources.c \
+       $(NULL)
+
 EXTRA_DIST += \
         app.gresource.xml \
        app.ui \
diff --git a/vte b/vte
new file mode 120000
index 0000000..e831038
--- /dev/null
+++ b/vte
@@ -0,0 +1 @@
+src
\ No newline at end of file


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