bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS automake testsuite failures


From: Nicolas Joly
Subject: Re: CVS automake testsuite failures
Date: Thu, 21 Mar 2002 16:25:35 +0100
User-agent: Mutt/1.2.5i

On Thu, Mar 21, 2002 at 11:56:16AM +0100, Alexandre Duret-Lutz wrote:
> >>> "Nicolas" == Nicolas Joly <address@hidden> writes:
> 
> [...]
> 
>  Nicolas> This seems to be a `make' problem. With your recent changes to use
>  Nicolas> `$MAKE', it fails with Tru64 make but pass with GNU make :
> 
> Yep.  Your make create empty directories in the build tree:
> 
>  Nicolas> configure: creating ./config.status
>  Nicolas> config.status: creating Makefile
>  Nicolas> No suffix list.
>  Nicolas> mkdir foo
>  Nicolas> mkdir foo/bar
>  Nicolas> mkdir baz
> 
> Those mkdirs are not in the Makefile.
> 
> The resulting tree
> 
> [...]
>  Nicolas> [...] testSubDir/foo
>  Nicolas> [...] testSubDir/foo/bar
>  Nicolas> [...] testSubDir/foo/bar/baz
>  Nicolas> [...] testSubDir/baz
>  Nicolas> [...] testSubDir/baz/foo
> [...]
>  Nicolas> [...] testSubDir/build/foo
>  Nicolas> [...] testSubDir/build/foo/bar
>  Nicolas> [...] testSubDir/build/baz
> [...]
> 
> confuses the `distdir' rule.  The test tries to distribute the
> foo/bar/ and baz/ directories, but the empty directory created
> in $(builddir) is prefered over the one in $(srcdir).
> 
> Do you know what trigger these mkdirs?

It seems to be make/VPATH problem :

address@hidden [tmp/make]> mkdir -p foo/bar
address@hidden [tmp/make]> mkdir build      
address@hidden [tmp/make]> cd build
address@hidden [make/build]> cat > Makefile << _EOF_
VPATH=..
all: foo/bar
_EOF_
address@hidden [make/build]> make
mkdir foo
mkdir foo/bar

-- 
Nicolas Joly

Biological Software and Databanks.
Pasteur Institute, Paris.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]