After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 768786 - Fix the build when srcdir != builddir
Fix the build when srcdir != builddir
Status: RESOLVED FIXED
Product: gnome-robots
Classification: Applications
Component: general
git master
Other FreeBSD
: Normal normal
: ---
Assigned To: gnome-robots-maint
gnome-robots-maint
Depends on:
Blocks:
 
 
Reported: 2016-07-13 18:56 UTC by Ting-Wei Lan
Modified: 2016-07-14 03:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Fix srcdir != builddir build (1.02 KB, patch)
2016-07-13 18:57 UTC, Ting-Wei Lan
committed Details | Review

Description Ting-Wei Lan 2016-07-13 18:56:41 UTC
gnome-robots doesn't build when srcdir != builddir:

gmake[2]: Entering directory '$builddir/gnome-robots/src'
Failed to open file 'robots.gresource.xml': No such file or directory
  GEN      robots-resources.c
Failed to open file 'robots.gresource.xml': No such file or directory
gmake[2]: *** [Makefile:865: robots-resources.c] Error 1

Please see the attached patch that fixes the problem.
Comment 1 Ting-Wei Lan 2016-07-13 18:57:58 UTC
Created attachment 331442 [details] [review]
build: Fix srcdir != builddir build
Comment 2 Michael Catanzaro 2016-07-13 21:52:50 UTC
Review of attachment 331442 [details] [review]:

Thanks.
Comment 3 Ting-Wei Lan 2016-07-14 03:32:55 UTC
Attachment 331442 [details] pushed as e3415a1 - build: Fix srcdir != builddir build