[empathy] Include empathy-theme-adium.c/h in tarballs even if webkit is not installed



commit fd8a3a5ef0de9951d185d18200c322a4b1714288
Author: Xavier Claessens <xclaesse gmail com>
Date:   Thu Jun 11 19:58:00 2009 +0200

    Include empathy-theme-adium.c/h in tarballs even if webkit is not installed

 libempathy-gtk/Makefile.am |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am
index bf364af..2a4438e 100644
--- a/libempathy-gtk/Makefile.am
+++ b/libempathy-gtk/Makefile.am
@@ -131,11 +131,6 @@ libempathy_gtk_include_HEADERS =		\
 	$(libempathy_gtk_headers)		\
 	empathy-gtk-enum-types.h
 
-if HAVE_WEBKIT
-libempathy_gtk_headers += empathy-theme-adium.h
-libempathy_gtk_la_SOURCES += empathy-theme-adium.c
-endif
-
 uidir = $(datadir)/empathy
 ui_DATA = 					\
 	empathy-contact-widget.ui		\
@@ -229,6 +224,17 @@ EXTRA_DIST +=					\
 	empathy-location-manager.h
 endif
 
+if HAVE_WEBKIT
+libempathy_gtk_handwritten_source +=		\
+	empathy-theme-adium.c
+libempathy_gtk_headers +=			\
+	empathy-theme-adium.h
+else
+EXTRA_DIST +=					\
+	empathy-theme-adium.c			\
+	empathy-theme-adium.h
+endif
+
 CLEANFILES =				\
 	$(BUILT_SOURCES)		\
 	stamp-empathy-gtk-enum-types.h



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