autoconf
[Top][All Lists]
Advanced

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

Re: distcheck missing files


From: Eric Blake
Subject: Re: distcheck missing files
Date: Mon, 20 May 2013 08:44:06 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

On 05/20/2013 01:24 AM, Kip Warner wrote:
> Hey list,
> 
> My autotool'd project configure and builds fine. When I run distcheck
> target, I notice that some tests fail because it is missing files that
> ought to be in 'Tests/'. 

distcheck is provided by automake, not autoconf; perhaps you'll get
better answers from the automake list or from reading the automake manual.

> 
> I checked my projects Makefile.am and, consistent with what I took from
> chapter 14.1 of the manual, I made sure that the directory containing my
> test files ('Tests/') was present in the EXTRA_DIST variable. If I'm not
> mistaken, listing 'Tests' in that variable should copy everything
> recursively in that folder which is what I want.
> 
> What am I doing wrong?

Without seeing your actual Makefile.am, I can only guess that perhaps
you made your EXTRA_DIST conditional?  I've been bitten by that in some
of my own projects, where a conditional EXTRA_DIST impacts what goes
into the tarball according to the configure options used, even though
that is generally a bad idea (you want the tarball to be independent of
configure options).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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