]> www.fi.muni.cz Git - evince.git/commitdiff
Allow build from different dir
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 13 Mar 2006 20:35:57 +0000 (20:35 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Mon, 13 Mar 2006 20:35:57 +0000 (20:35 +0000)
shell/Makefile.am

index 26b195e7c54fcc9f3aae44dea067844c881ad452..c8703c059854bdb58a39025d271ed1d3f8eb4fac 100644 (file)
@@ -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