From 04fac44de1b9b0106ef95b6bf6cfc2d877b01fd2 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Sat, 14 Apr 2001 08:02:59 +0000 Subject: Do this everywhere, also fixup CLEANFILES Do this everywhere, also fixup CLEANFILES 2001-04-14 Michael Meeks * Makefile.am (dist-hook): remove built sources from dist. svn path=/trunk/; revision=9309 --- shell/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'shell/Makefile.am') 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) + -- cgit