[vte] build: Work around include directory issue



commit d6a6aca25aeb7db26507b9097e29ca8334c4f4b1
Author: Christian Persch <chpe gnome org>
Date:   Sun Apr 27 16:37:58 2014 +0200

    build: Work around include directory issue
    
    The correct way to include vte.h is <vte/vte.h> but the source directoy
    is named src/ not vte/ so this doesn't work while building vte itself,
    and it breaks when building the vala test application.
    
    Make vte/vte.h symlink to src/vte.h, and dist that. Ugly, but it works™.

 Makefile.am |    3 ++-
 vte         |    1 -
 vte/vte.h   |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 2fd1ed9..d69211f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,8 @@ EXTRA_DIST = \
        MAINTAINERS \
        HACKING \
        autogen.sh \
-       ChangeLog.pre-git
+       ChangeLog.pre-git \
+       vte/vte.h
 
 DISTCLEANFILES =
 
diff --git a/vte/vte.h b/vte/vte.h
new file mode 120000
index 0000000..762876b
--- /dev/null
+++ b/vte/vte.h
@@ -0,0 +1 @@
+../src/vte.h
\ No newline at end of file


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