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 22:20:50 -0300 (ADT)

Hi.  This is just to let you know that I solved my problem.  Thanks for 
the help.  It was, indeed, one of the big problems I was having.  

Do you think it would help if I downloaded the automake CVS and put in a
little item into the .texi file, as a hint to other users?  (Maybe I'd add
a chapter called FAQ, and put in something like this.)  I'm quite familiar
with texi format, since I've been using it for many years in Gri 
(gri.sf.net).

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]