bug-automake
[Top][All Lists]
Advanced

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

Re: distcheck fails (missing files)


From: Dan E. Kelley
Subject: Re: distcheck fails (missing files)
Date: Sun, 25 May 2003 12:39:25 -0300 (ADT)

Yes,  I think this is the sort of thing that I needed to know.  I'll check 
that! 

On Sun, 25 May 2003, Alexandre Duret-Lutz wrote:

> Date: Sun, 25 May 2003 17:34:15 +0200
> From: Alexandre Duret-Lutz <address@hidden>
> Reply-To: address@hidden
> To: Dan Kelley <address@hidden>
> Cc: address@hidden
> Subject: Re: distcheck fails (missing files)
> 
> >>> "Dan" == Dan E Kelley <address@hidden> writes:
> 
> [...]
>  Dan> PROBLEM. However, "make distcheck" fails.  What it does is to create a
>  Dan> subdir called "=build" in the dist directory (named "gri-2.12.5"), and
>  Dan> it inserts Makefiles there, and subdirs there, but no sources.  So,
>  Dan> when it tries a build, it fails.
> [...]
> 
> On second thoughts, this sounds like a symptom of missing
> $(srcdir) in custom rules.
> 
> If you have any explicit (i.e., not suffix rules) hand-crafted
> rule like
> 
>   built: distributed
>           command -o built distributed 
> 
> you should change it to
> 
>   built: $(srcdir)/distributed
>           command -o built $(srcdir)/distributed
> 
> to support builds out of the source directory.  
> (These out-of-source builds is also called VPATH builds.)
> 

-- 
Dan E. Kelley, Associate Professor                phone:(902)494-1694
Oceanography Department, Dalhousie University       fax:(902)494-2885
Halifax, Nova Scotia                         mailto:address@hidden 
Canada B3H 4J1   http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html





reply via email to

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