[Top][All Lists]

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

Re: distcheck fails (missing files)

From: Alexandre Duret-Lutz
Subject: Re: distcheck fails (missing files)
Date: Sun, 25 May 2003 17:34:15 +0200
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3 (gnu/linux)

>>> "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.)
Alexandre Duret-Lutz

reply via email to

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