diff finch/libgnt/Makefile.am @ 16766:91d0e590e635

gnt should reference genmarshal in the srcdir to allow building in a different directory from the source. fixes the other part of #566
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 03 May 2007 12:57:57 +0000
parents 171acd9ebb1a
children 4d4a396a478c 36f97c87e980
line wrap: on
line diff
--- a/finch/libgnt/Makefile.am	Thu May 03 12:54:47 2007 +0000
+++ b/finch/libgnt/Makefile.am	Thu May 03 12:57:57 2007 +0000
@@ -64,12 +64,12 @@
 	gntmarshal.h \
 	gntmarshal.c
 
-gntmarshal.c: genmarshal gntmarshal.h
+gntmarshal.c: $(srcdir)/genmarshal gntmarshal.h
 	echo "#include \"gntmarshal.h\"" > $@
-	cat genmarshal | glib-genmarshal --prefix=gnt_closure_marshal --body >> $@
+	cat $(srcdir)/genmarshal | glib-genmarshal --prefix=gnt_closure_marshal --body >> $@
 
-gntmarshal.h: genmarshal
-	cat genmarshal | glib-genmarshal --prefix=gnt_closure_marshal --header > $@
+gntmarshal.h: $(srcdir)/genmarshal
+	cat $(srcdir)/genmarshal | glib-genmarshal --prefix=gnt_closure_marshal --header > $@
 
 libgnt_laincludedir=$(includedir)/gnt
 libgnt_lainclude_HEADERS = \