From d67c922429efb99ac28d96b8b5985a35c69386c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 8 Dec 2014 20:41:15 +0100 Subject: [PATCH] build-sys: fix out of tree build The files are not referenced with full path. Make $< variable does it. This fixes the following error: make[2]: Entering directory '/home/elmarco/src/gnome/build/ConsoleKit/src' dbus-binding-tool --prefix=ck_manager --mode=glib-server --output=ck-manager-glue.h org.freedesktop.ConsoleKit.Manager.xml Couldn't stat org.freedesktop.ConsoleKit.Manager.xml: No such file or directory --- src/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 217e531..e31e278 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -91,11 +91,11 @@ dbusif_DATA = \ $(NULL) ck-manager-glue.h: org.freedesktop.ConsoleKit.Manager.xml Makefile.am - dbus-binding-tool --prefix=ck_manager --mode=glib-server --output=ck-manager-glue.h org.freedesktop.ConsoleKit.Manager.xml + dbus-binding-tool --prefix=ck_manager --mode=glib-server --output=ck-manager-glue.h $< ck-seat-glue.h: org.freedesktop.ConsoleKit.Seat.xml Makefile.am - dbus-binding-tool --prefix=ck_seat --mode=glib-server --output=ck-seat-glue.h org.freedesktop.ConsoleKit.Seat.xml + dbus-binding-tool --prefix=ck_seat --mode=glib-server --output=ck-seat-glue.h $< ck-session-glue.h: org.freedesktop.ConsoleKit.Session.xml Makefile.am - dbus-binding-tool --prefix=ck_session --mode=glib-server --output=ck-session-glue.h org.freedesktop.ConsoleKit.Session.xml + dbus-binding-tool --prefix=ck_session --mode=glib-server --output=ck-session-glue.h $< ck-marshal.c: ck-marshal.list echo "#include \"ck-marshal.h\"" > $@ && \ -- 2.1.0