autoconf
[Top][All Lists]
Advanced

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

Re: make distcheck


From: Patrick Welche
Subject: Re: make distcheck
Date: Mon, 2 Mar 2009 23:04:00 +0000
User-agent: Mutt/1.5.18 (2008-10-20)

On Mon, Mar 02, 2009 at 09:57:28PM +0100, Ralf Wildenhues wrote:
> * Patrick Welche wrote on Mon, Mar 02, 2009 at 08:52:26PM CET:
> > 
> > I thought that running make distcheck in the source directory should
> > fail?
> 
> Not sure why you think that.  distcheck does a build with build tree !=
> source tree.  But nothing in Automake prohibits packages from allowing
> both trees to coincide.

Sorry, I mean, the package was broken. If I did a real build in build tree
!= source tree, it failed because of the ../../config.h brokeness. I just
wondered why when make distcheck did its build in _build, that it didn't
fail.

> Not sure if "srcdir" is a directory name here, but config.h should not
> be created in the source tree, but in the build tree, to facilitate
> having several distinct build trees (for several systems, for example).

srcdir is a directory name here. In a make distcheck, isn't the package
first built in srcdir, and then in _build? So there might be a config.h
from the build in srcdir?

Cheers,

Patrick




reply via email to

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