$(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 \
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