From: Nickolay V. Shmyrev Date: Mon, 13 Mar 2006 20:35:57 +0000 (+0000) Subject: Allow build from different dir X-Git-Tag: EVINCE_0_5_2~1 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=a61c4406e2cd4dc8f2d3a981e73dc09ae21e6ece;p=evince.git Allow build from different dir --- diff --git a/shell/Makefile.am b/shell/Makefile.am index 26b195e7..c8703c05 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -95,12 +95,12 @@ EXTRA_DIST = ev-marshal.list \ ev-application-service.xml -ev-marshal.h: ev-marshal.list - glib-genmarshal --prefix=ev_marshal ev-marshal.list --header > ev-marshal.h +ev-marshal.h: $(srcdir)/ev-marshal.list + $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h -ev-marshal.c: ev-marshal.list +ev-marshal.c: $(srcdir)/ev-marshal.list echo '#include "ev-marshal.h"' > ev-marshal.c - glib-genmarshal --prefix=ev_marshal ev-marshal.list --body >> ev-marshal.c + $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --body >> ev-marshal.c DISTCLEANFILES= \ ev-application-service.h