Re: Incorrect directory creation with 'make dist' and EXTRA_DIST

2006-01-05 Thread Alexandre Duret-Lutz
>>> "SK" == Stepan Kasal <[EMAIL PROTECTED]> writes: SK> # Prepend $(distdir) to each directory given. SK> - my %rewritten = map { s|^\$[({](top_)?srcdir[)}]|\$($1builddir)|; SK> + my %rewritten = map { s|^\$[({]((top_)?)srcdir[)}]|\$($1builddir)|; SK> '$(distdir)/' . "$_" => 1 } keys %dist_

Re: Incorrect directory creation with 'make dist' and EXTRA_DIST

2006-01-05 Thread Sander Niemeijer
Hi, On 4-jan-2006, at 21:00, Stepan Kasal wrote: Hello, On Wed, Jan 04, 2006 at 06:12:11PM +0100, Sander Niemeijer wrote: distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) --->$(mkdir_p) $(distdir)/$(top_srcdir)/data The problem is caused by the following line

Re: Incorrect directory creation with 'make dist' and EXTRA_DIST

2006-01-04 Thread Stepan Kasal
Hello, On Wed, Jan 04, 2006 at 06:12:11PM +0100, Sander Niemeijer wrote: > distdir: $(DISTFILES) > $(am__remove_distdir) > mkdir $(distdir) > --->$(mkdir_p) $(distdir)/$(top_srcdir)/data The problem is caused by the following line in Makefile.am: EXTRA_DIST = $(top_sr

Re: Incorrect directory creation with 'make dist' and EXTRA_DIST

2006-01-04 Thread Ralf Wildenhues
Hi Sander, * Sander Niemeijer wrote on Wed, Jan 04, 2006 at 06:12:11PM CET: > > I think I have found a bug in automake. I agree that this is a bug. > The problem is triggered by configuring the foo-1.0 package using a > full path to configure (or to use a build directory that differs from >

Incorrect directory creation with 'make dist' and EXTRA_DIST

2006-01-04 Thread Sander Niemeijer
Hi all, I think I have found a bug in automake. Attached is an example that reproduces the problem. The problem is triggered by configuring the foo-1.0 package using a full path to configure (or to use a build directory that differs from the source directory) and running a 'make dist'. If