[atk] Fix out of tree builds



commit e981d4fb3587735b84c42e75cdabc4ee2db090b7
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Dec 28 16:38:06 2012 +0000

    Fix out of tree builds
    
    The atk.h header should not be part of the introspected files, and the
    location of the atkversion.h should be pointed through top_builddir,
    given that the file is generated by configure.
    
    Reviewed-by: Alejandro PiÃeiro <apinheiro igalia com>
    Tested-by: Emmanuele Bassi <ebassi gnome org>

 atk/Makefile.am |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/atk/Makefile.am b/atk/Makefile.am
index 573f21f..4c79fe4 100644
--- a/atk/Makefile.am
+++ b/atk/Makefile.am
@@ -57,7 +57,7 @@ atk_sources = 	\
 	atktext.c		\
 	atkutil.c		\
 	atkmisc.c		\
-	atkvalue.c \
+	atkvalue.c 		\
 	atkversion.c 		\
 	atkwindow.c
 
@@ -68,7 +68,6 @@ libatk_1_0_la_SOURCES = 	\
 libatkincludedir=$(includedir)/atk-1.0/atk
 
 atk_headers = \
-        atk.h			\
         atkaction.h		\
         atkcomponent.h		\
         atkdocument.h		\
@@ -100,8 +99,9 @@ atk_headers = \
         atkwindow.h
 
 libatkinclude_HEADERS =		\
+        atk.h			\
 	$(atk_headers)		\
-	atkversion.h		\
+	$(top_builddir)/atk/atkversion.h \
 	atk-enum-types.h
 
 
@@ -158,6 +158,7 @@ introspection_sources = \
     $(atk_headers)	\
     $(atk_sources)
 introspection_generated_sources = \
+    $(top_builddir)/atk/atkversion.h 	\
     atk-enum-types.c	\
     atk-enum-types.h
 



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