From a494e90f6af12a433efa26f337a7cd415667dd9c Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 25 Nov 2004 20:08:18 +0000 Subject: Build auto-generated files in builddir, not in srcdir. 2004-11-25 Christian Persch * data/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: Build auto-generated files in builddir, not in srcdir. --- lib/egg/Makefile.am | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'lib/egg') diff --git a/lib/egg/Makefile.am b/lib/egg/Makefile.am index 77b7c0eaa..4920ffbba 100644 --- a/lib/egg/Makefile.am +++ b/lib/egg/Makefile.am @@ -1,4 +1,5 @@ INCLUDES = \ + -I$(top_builddir)/lib/egg \ $(EPIPHANY_DEPENDENCY_CFLAGS) \ -DCURSOR_DIR=\"$(pkgdatadir)/art\" \ -DGTK_DISABLE_DEPRECATED \ @@ -37,18 +38,10 @@ noinst_HEADERS = \ BUILT_SOURCES = eggmarshalers.h eggmarshalers.c eggmarshalers.h: eggmarshalers.list - cd $(srcdir) \ - && $(GLIB_GENMARSHAL) --prefix=_egg_marshal eggmarshalers.list --header > xgen-emh \ - && cp xgen-emh eggmarshalers.h \ - && rm -f xgen-emh xgen-emh~ + $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header > eggmarshalers.h eggmarshalers.c: eggmarshalers.list - cd $(srcdir) \ - && $(GLIB_GENMARSHAL) --prefix=_egg_marshal eggmarshalers.list --body > xgen-emc \ - && cp xgen-emc eggmarshalers.c \ - && rm -f xgen-emc xgen-emc~ - -egg-marshal.c: eggmarshalers.h eggmarshalers.c + $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --body > eggmarshalers.c EXTRA_DIST= \ eggmarshalers.list -- cgit v1.2.3