GNOME Bugzilla – Bug 570330
seahorse fails to build outside source tree
Last modified: 2009-02-03 14:43:59 UTC
When building seahorse outside source tree, the following errors were found: - In daemon/, build fails due to missing seahorse-service.xml: ---8<--- make[2]: Entering directory `/home/thep/build/gnome_svn/seahorse/daemon' dbus-binding-tool --prefix=seahorse_service --mode=glib-server --output=seahorse-service-bindings.h /home/thep/vcs/gnome_svn/seahorse/daemon//home/thep/vcs/gnome_svn/seahorse/daemon/seahorse-service.xml Couldn't stat /home/thep/vcs/gnome_svn/seahorse/daemon//home/thep/vcs/gnome_svn/seahorse/daemon/seahorse-service.xml: No such file or directory make[2]: *** [seahorse-service-bindings.h] Error 1 make[2]: Leaving directory `/home/thep/build/gnome_svn/seahorse/daemon' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/thep/build/gnome_svn/seahorse' make: *** [all] Error 2 ---8<--- The path to seahorse-service.xml is duplicated twice.
Created attachment 127819 [details] [review] The fix This patch works for me. The "$<" in generic rules already represent the path to the source file. No need for another $(srcdir)/ in front of it.
Created attachment 127821 [details] [review] The fix This patch works for me. The "$<" in generic rules already represent the path to the source file. No need for another $(srcdir)/ in front of it.
Looks good. Please commit with a ChangeLog.
2009-02-03 Theppitak Karoonboonyanan <thep@linux.thai.net> * daemon/Makefile.am: Remove excessive $(srcdir) in rules, fixing non-source-dir build error. Fixes bug #570330.