Re: $(srcdir)/foo is not generated because $(srcdir)/$(srcdir)/foo exists

2011-02-13 Thread Peter Johansson
Thanks Ralf for your quick reply, On 2/13/11 2:44 AM, Ralf Wildenhues wrote: I would prepend all lines of a rule with a TAB, not just those not following a backslash-escaped newline. I'm actually not totally sure whether that was for portability to non-Posix make or so automake would parse

$(srcdir)/foo is not generated because $(srcdir)/$(srcdir)/foo exists

2011-02-12 Thread Peter Johansson
Hello; I got bitten by how VPATH builds work and wondered if there is a good way to avoid getting bitten again. I have an Automake snippet (see below) that creates a file, `.revision', with current revision number and from this is a C header file `revision.h' created. Then to test that

Re: $(srcdir)/foo is not generated because $(srcdir)/$(srcdir)/foo exists

2011-02-12 Thread Ralf Wildenhues
Hello Peter, * Peter Johansson wrote on Sat, Feb 12, 2011 at 09:56:41PM CET: I got bitten by how VPATH builds work and wondered if there is a good way to avoid getting bitten again. Not an easy question. I have an Automake snippet (see below) that creates a file, `.revision', with current