aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-08-24 00:37:00 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-08-24 00:37:00 +0800
commit751751ed4fc3018ec60af7990ab0e8d5bd5ed00c (patch)
tree18e2db26552cbee8260476e19a8c9f7d65626036 /src/Makefile.am
parent9ab21f8dc4b4028296d11ea9ca669cf883bd1dac (diff)
downloadgsoc2013-epiphany-751751ed4fc3018ec60af7990ab0e8d5bd5ed00c.tar
gsoc2013-epiphany-751751ed4fc3018ec60af7990ab0e8d5bd5ed00c.tar.gz
gsoc2013-epiphany-751751ed4fc3018ec60af7990ab0e8d5bd5ed00c.tar.bz2
gsoc2013-epiphany-751751ed4fc3018ec60af7990ab0e8d5bd5ed00c.tar.lz
gsoc2013-epiphany-751751ed4fc3018ec60af7990ab0e8d5bd5ed00c.tar.xz
gsoc2013-epiphany-751751ed4fc3018ec60af7990ab0e8d5bd5ed00c.tar.zst
gsoc2013-epiphany-751751ed4fc3018ec60af7990ab0e8d5bd5ed00c.zip
2003-08-23 Marco Pesenti Gritti <marco@gnome.org> * configure.in: 0.9.1 * src/Makefile.am: Do not distribute generated CORBA files
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am27
1 files changed, 15 insertions, 12 deletions
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)