From b28c2c17566ac07565b98e6720c7a6a5ec927ad1 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Mon, 8 Jun 2009 15:10:57 -0400 Subject: Distribute conditionally built files --- src/Makefile.am | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index db2117986..8102666c6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -75,12 +75,22 @@ ui_DATA = \ empathy-preferences.ui \ empathy-status-icon.ui +EXTRA_DIST = \ + $(autostart_DATA) \ + $(ui_DATA) + if HAVE_LIBCHAMPLAIN empathy_SOURCES += \ - empathy-map-view.c empathy-map-view.h + empathy-map-view.c \ + empathy-map-view.h ui_DATA += \ empathy-map-view.ui +else +EXTRA_DIST += \ + empathy-map-view.c \ + empathy-map-view.h \ + empathy-map-view.ui endif dist_man_MANS = \ @@ -104,9 +114,5 @@ dist_man_MANS = \ --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ $< > $@ -EXTRA_DIST = \ - $(autostart_DATA) \ - $(ui_DATA) - CLEANFILES = $(BUILT_SOURCES) -- cgit v1.2.3