aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/Makefile.am9
-rw-r--r--shell/importer/Makefile.am6
3 files changed, 17 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 15356d1c6f..3c2fbf8054 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-14 Michael Meeks <michael@ximian.com>
+
+ * Makefile.am (dist-hook): remove built sources from dist.
+
2001-04-13 Ettore Perazzoli <ettore@ximian.com>
* e-splash.c (impl_destroy): Call the parent class' ::destroy
diff --git a/shell/Makefile.am b/shell/Makefile.am
index d52972c02a..b6eb99cba7 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -13,8 +13,6 @@ INCLUDES = \
-DEVOLUTION_GLADEDIR=\"$(datadir)/evolution/glade\" \
-DG_LOG_DOMAIN=\"evolution-shell\"
-CLEANFILES = $(IDL_GENERATED)
-
# CORBA stuff
IDLS = \
@@ -162,3 +160,10 @@ evolution.pure: evolution
$(PLINK) $(evolution_LDFLAGS) $(evolution_OBJECTS) $(evolution_LDADD) $(LIBS)
endif
+
+CLEANFILES += $(IDL_GENERATED)
+BUILT_SOURCES = $(IDL_GENERATED)
+
+dist-hook:
+ cd $(distdir); rm -f $(BUILT_SOURCES)
+
diff --git a/shell/importer/Makefile.am b/shell/importer/Makefile.am
index 1dc06698f4..2a15012bbb 100644
--- a/shell/importer/Makefile.am
+++ b/shell/importer/Makefile.am
@@ -55,3 +55,9 @@ gladedir = $(datadir)/evolution/glade
glade_DATA = import.glade
EXTRA_DIST = $(glade_DATA) $(IDLS)
+
+BUILT_SOURCES=$(IDL_GENERATED)
+CLEANFILES += $(BUILT_SOURCES)
+dist-hook:
+ cd $(distdir); rm -f $(BUILT_SOURCES)
+