Re: make distcheck

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

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux