This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Problem with 'make distcheck'
>>>>> "Sebastian" == Sebastian Huber <sebastian-huber@web.de> writes:
Sebastian> ok, changing `$(top_srcdir)' to `..' fixed the problem, but
Sebastian> is this a temporay workaround or is the behaviour of the
Sebastian> dist rule not correct in this case? To use $(top_srcdir)
Sebastian> instead of '..' seems more natural to me.
I doubt we'll change this. The fix would require rewriting the
_SOURCES variable inside Automake. In general we avoid that sort of
thing.
You could write:
top_dir = ..
foo_SOURCES = $(top_dir)/foo.c
That will preserve some clarity.
Tom