GNOME Bugzilla – Bug 355353
gthumb should build when srcdir != objdir
Last modified: 2006-11-30 15:04:50 UTC
Please describe the problem: If srcdir != objdir, gthumb should build sucessfully. All generated files should go into objdir, srcdir should be left alone. See attached patch to libgthumb/Makefile.am (which isn't sufficient, since -I$(objdir)/libgthumb needs to be added to the src path Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? yes Other information:
Created attachment 72518 [details] [review] patch to libgthumb/Makefile.am also, it seems we don't have to be dependent on glib-mkenums -- if we're not, $^ works at finding the header files with VPATH. Other things also have to change to find the generated headers in objdir.
Created attachment 73407 [details] [review] Makefile.am patch to build with srcdir != objdir
fixed in CVS, thanks.
cvs version didn't quite work right, redoing the patch. Generated files should be in objdir, not srcdir (we should be able to make when src file system is readonly)
patch applied to CVS, thanks.