This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Problem with 'make distcheck'
>>>>> "adl" == Alexandre Duret-Lutz <duret_g@lrde.epita.fr> writes:
Tom> top_dir = ..
Tom> foo_SOURCES = $(top_dir)/foo.c
adl> Hmmm, are you sure? This construct is the one used in PR/325.
adl> It breaks the dependency tracking code (the dependency file will have
adl> "\$\(top_dir\)" in its name).
Yeah, you're right :-(.
I suppose we could add a %top_srcdir% substitution that is done while
reading. That would be a new thing, though. I'd prefer to be
cautious about it.
Tom