On Wed, 2010 Apr 28 07:45+0200, Ralf Wildenhues wrote: > > Prepending all files generated in the source tree with $(srcdir)/ > usually works. One has to note though that it really needs to be done > in every place, ie., als EXTRA_DIST, and bits which might be generated > by automake.
Automake already has a lot of shell logic under the hood that explicitly addresses srcdir vs. builddir (look at e.g. the "distdir" rule) so you shouldn't need to touch EXTRA_DIST and the like. I think the fix would be to replace the .y.c suffix rule with explicit per-file rules, since suffix rules need VPATH-fu to find their target if it's not in the current directory. --Daniel -- NAME = Daniel Richard G. _\|/_ Remember, skunks MAIL = sk...@iskunk.org (/o|o\) _- don't smell bad--- MAIL+= sk...@alum.mit.edu < (^),> it's the people who WWW = (not there yet!) / \ annoy us that do!