aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/Makefile.am16
1 files changed, 11 insertions, 5 deletions
diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am
index bf364af99..2a4438e57 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