logo       

Re: distcheck fails (missing files): msg#00031

sysutils.automake.bugs

Subject: Re: distcheck fails (missing files)

>>> "Dan" == Dan E Kelley <kelley@xxxxxxxxxxxxxxxxx> 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






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise