From 751751ed4fc3018ec60af7990ab0e8d5bd5ed00c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 23 Aug 2003 16:37:00 +0000 Subject: 0.9.1 2003-08-23 Marco Pesenti Gritti * configure.in: 0.9.1 * src/Makefile.am: Do not distribute generated CORBA files --- src/Makefile.am | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 29af4c2c8..268d6e34f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -25,12 +25,18 @@ bin_SCRIPTS = epiphany CXXLD = $(CXX) LINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ - -ephy_automation_interface_idl_sources = \ +CORBA_SOURCE = \ EphyAutomation-common.c \ EphyAutomation-stubs.c \ EphyAutomation-skels.c \ - EphyAutomation.h + EphyAutomation.h + +idls = $(top_srcdir)/idl/EphyAutomation.idl + +idl_flags = -I$(LIBBONOBO_IDL) -I$(BONOBO_ACTIVATION_IDL) + +$(CORBA_SOURCE): $(idls) $(ORBIT_IDL) + $(ORBIT_IDL) $(idl_flags) $(idls) if ENABLE_NAUTILUS_VIEW nautilus_view_sources = \ @@ -73,7 +79,7 @@ INST_H_FILES = \ session.h epiphany_bin_SOURCES = \ - $(ephy_automation_interface_idl_sources) \ + $(CORBA_SOURCE) \ $(nautilus_view_sources) \ ephy-automation.c \ ephy-encoding-menu.c \ @@ -114,14 +120,11 @@ epiphany_bin_LDADD = \ $(EPIPHANY_DEPENDENCY_LIBS) \ $(INTLLIBS) -CLEANFILES = \ - $(ephy_automation_interface_idl_sources) \ - ephy_automation_interface_idl_stamp - -$(ephy_automation_interface_idl_sources): ephy_automation_interface_idl_stamp +BUILT_SOURCES = $(CORBA_SOURCE) -ephy_automation_interface_idl_stamp: $(top_srcdir)/idl/EphyAutomation.idl $(ORBIT_IDL) - $(ORBIT_IDL) -I $(LIBBONOBO_IDL) -I $(BONOBO_ACTIVATION_IDL) -I$(top_srcdir) $< - touch $@ +CLEANFILES = $(CORBA_SOURCE) EXTRA_DIST = $(top_srcdir)/idl/EphyAutomation.idl + +dist-hook: + cd $(distdir); rm -f $(BUILT_SOURCES) -- cgit v1.2.3