GNOME Bugzilla – Bug 585838
vino fails to build outside soruce tree
Last modified: 2009-06-20 00:59:03 UTC
When built from outside source tree, vino fails with following messages: ---8<--- dbus-binding-tool --prefix=vino_dbus_listener --mode=glib-server dbus-interface.xml > dbus-interface-glue.h Unable to load "dbus-interface.xml": Failed to open file 'dbus-interface.xml': No such file or directory make[2]: *** [dbus-interface-glue.h] Error 1 make[2]: Leaving directory `/home/thep/build/gnome_git/vino/server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/thep/build/gnome_git/vino' make: *** [all] Error 2 ---8<--- This is because of this line in server/Makefile.am: ---8<--- dbus-interface-glue.h: dbus-interface.xml dbus-binding-tool --prefix=vino_dbus_listener --mode=glib-server dbus-interface.xml > dbus-interface-glue.h ---8<--- dbus-interface.xml is in srcdir. When builddir != srcdir, this file is just missing, unless VPATH is used in the rule.
Created attachment 136620 [details] [review] Access via auto var Access the source via auto variable, so VPATH is searched.
thanks, patch committed.